When i try to use rendercontrol throw me this error
Script control 'wt_Categorias' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors(). Nombre del parámetro: scriptControl
somebody please tell me why?..
Victor.
Hi,
Can you move the code that renders the tree in PreRenderComplete, for example the following code works for me with no exception:
protected override void OnPreRenderComplete(EventArgs e) { base.OnPreRenderComplete(e); System.IO.StringWriter sw = new System.IO.StringWriter(); //FillWebtreeNDb(eventArgument.split("|"c) ' here fill the webdatatree and others object
HtmlTextWriter htm = new HtmlTextWriter(sw);
wt_Plantillas.RenderControl(htm); //wt_Plantillas its a webdatatree and this line throw me the error, with other controls works fine
htm.Flush(); }
Sorry for my bad english...
im using callback, with other control like asp.net controls work fine.
im using infragistics because my customer pay for it, but i changed webdataview for devexpress dataview because ultrawebdataview is slow filling 1000 or 10000 row, and i cant grouping column with 10000 rows because its very slow too,even using pager. i dont want to use 2 diferent sdk, i already use dundas for chart.
Some furure user will be a Motorola, protec and gamble and we dont have much time to finish it.
im using a script to call the server and other script to fill a div.
this web is very weigh and dinamic, and i need to use many callbacks to fil diferent part of it like charts, grid, treeview and other controls
please help me.
Public Function GetCallbackResult() As String Implements _ System.Web.UI.ICallbackEventHandler.GetCallbackResult
Return sw.ToString
Public Sub RaiseCallbackEvent(ByVal eventArgument As String) Implements System.Web.UI.ICallbackEventHandler.RaiseCallbackEvent
FillWebtreeNDb(eventArgument.split("|"c) ' here fill the webdatatree and others object
Dim htm As New
HtmlTextWriter(sw)
wt_Plantillas.RenderControl(htm) 'wt_Plantillas its a webdatatree and this line throw me the error, with other controls works fine
htm.Flush()
End Sub
Hi Victor,
I'm a little confused by your scenario. Could you explain in more detail what you are doing? A small sample page or code would help out a ton.
regards,David Young