View Full Version : Autoload Tabs From C# Function

12 Aug 2009, 10:59 AM

i'm trying to load into my tabs a string that contains the HTML code but it loads only the string and doesnt interpret the HTML it self

title: checklistTypes[i].TypeName,
listeners: {activate: handleActivate},
autoLoad: {url: "./Lib/WebServices/ChecklistWebService.asmx/GetType (http://checklistwebservice.asmx/GetType)", params: 'typeId=' + checklistTypes[i].TypeId + '&entityId=501&entityTypeId=2'}
});It shows off the string in the tab, but i want it to interpret it as HTML...

The WebService header is :

[WebMethod(EnableSession = true)]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public string GetType(int typeId, int entityId, int entityTypeId)

and it returns a string - i want that string to be treated as HTML - is this possible?

Anybody can help?