Hi,
I'm trying to show a Dialog Control created from code behind like this
thread but I get this error...
[ArgumentNullException: El valor no puede ser nulo. Nombre del parámetro: key]
System.Collections.Generic.Dictionary`2.FindEntry(TKey key) +11772221
System.Collections.Generic.Dictionary`2.ContainsKey(TKey key) +9
Syncfusion.JavaScript.EssentialJavaScript.RegisterControl(String id, String jsonData) +44
Syncfusion.JavaScript.Control.RenderJson() +75
Syncfusion.JavaScript.Control.Raw() +140
Syncfusion.JavaScript.Control.ToHtmlString() +29
Syncfusion.JavaScript.Web.Dialog.Render(HtmlTextWriter writer) +69
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +66
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +100
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +128
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +13
This is my code...
.aspx
<div id="rptView" runat="server" name="rptView"></div>
<ej:Button ID="btnReporte" runat="server" Text="Reporte" OnClick="ShowDialog" />
.vb
Protected Sub ShowDialog(Sender As Object, e As Syncfusion.JavaScript.Web.ButtonEventArgs)
Dim dial As New Syncfusion.JavaScript.Web.Dialog()
dial.ShowOnInit = True
dial.IsResponsive = True
dial.Title = "Preua"
rptView.Controls.Add(dial)
End Sub
Any help that can be provided would be appreciated.