Hello,
I am using the rad window for the first time. Here is the code, how I have declared rad window.
<telerik:RadWindowManager ID="RadWindowMyImage" runat="server" EnableShadow="true">
<Windows>
<telerik:RadWindow ID="RadWindow1" runat="server" Modal="true">
<ContentTemplate>
<placeholder id="iframe1" runat="server" width="400px" height="400px">
</placeholder>
</ContentTemplate>
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
and I am loading an image and launching the window like this.
PlaceHolder mybox = RadWindow1.ContentContainer.FindControl("iframe1") as PlaceHolder;
System.Web.UI.WebControls.
Image appImage = new System.Web.UI.WebControls.Image();
string base64String = Convert.ToBase64String(myimage, 0, myimage.Length); //myimage is byte array
appImage.ImageUrl = "data:image/png;base64," + base64String;
appImage.Width = Unit.Pixel(100);
appImage.Height = Unit.Pixel(100);
iframe1.Controls.Add(appImage);
RadWindow1.Visible = true;
Am I doing correctly?? My rad window is not getting poped up when I click the button. Can any one help me out in this? Where I am doing wrong?
Thanks in Advance.
Thanks,
Geetha Rani.