or
protected void ImpactCombo_DataBound(object sender, EventArgs e)
{
RadComboBoxItem all = new RadComboBoxItem("All", "-1");
ImpactCombo.Items.Add(all);
}
<telerik:RadWindowManager ID="RadWindowManager1" runat="server">
</telerik:RadWindowManager>
<
style type="text/css">
.style1
{
width: 32px;
height: 32px;
}
</
style>
<
p>
<img alt="" class="style1"
src="../../images/ui/1290451133_x-office-document.png" /></p>
 
<
telerik:RadWindow ID="RadWindow1" runat="server">
<
ContentTemplate>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</
ContentTemplate>
</
telerik:RadWindow>
OnClick of the <IMG> tag I would like to load this RadWindow into the RadWindowManager collection (display it).
What is the best way to achieve this functionality?
Also, is there a way to load a UserControl within the RadWindow?
Many thanks,
~Dean
var masterTable = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
masterTable.sort("");
protected void NeedDataSource()
{
grd_report.Visible = true;
if (IsPostBack == true && txt_todate.SelectedDate != null && txt_fromdate.SelectedDate != null)
{
String _todate = txt_todate.SelectedDate.Value.ToString("dd-MMM-yyyy");
String _fromdate = txt_fromdate.SelectedDate.Value.ToString("dd-MMM-yyyy");
obj_sales.initConnection();
obj_sales.nwideTotalSalesSummary(_todate, _fromdate);
grd_report.DataSource = obj_sales.getResults();
grd_report.DataBind();
}
}
protected void PageSizeChanged(object source, Telerik.Web.UI.GridPageSizeChangedEventArgs e)
{
NeedDataSource();
grd_report.Rebind();
}