or
this.imgCreateStoreList.Attributes.Add("onclick", "openWinEvents('Events.aspx?Designator=" + desParameter + "&ctProcessId=" + ctProcessId + "&rnd=" + System.Guid.NewGuid() + "'); return false;");
function openWinEvents(parameter) { var wnd = $find('<%=RadWindow1.ClientID %>'); if (wnd != null) { wnd.setUrl("/Builder/" + parameter + ""); wnd.setSize(800, 600); wnd.set_modal(true); wnd.set_iconUrl("/img/radwindowicon.gif"); wnd.Show(); } }RadWindow CommPromptWindow = (RadWindow)Page.Master.FindControl("EventsPromptWindow"); CommPromptWindow.VisibleOnPageLoad = true; <script type="text/javascript"> function RefreshClientGrid() { try { var masterTable = $find("<%= RadGrid1.ClientID %>").get_masterTableView(); masterTable.rebind(); }catch(Error) { alert(Error); } } </script><asp:Label ID="CompanyIdLabel" runat="server" Visible="False"></asp:Label><uc1:FSCompanyReadOnly ID="FSCompanyReadOnly1" runat="server" /><telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" DataSourceID="LinqDataSource1" GridLines="None" Skin="Telerik" PageSize="15" CellSpacing="0" OnItemCommand="RadGrid1_ItemCommand" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True"> <MasterTableView DataKeyNames="ClientId" CommandItemDisplay="Top" ClientDataKeyNames="ClientId"> <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings> <RowIndicatorColumn> <HeaderStyle Width="20px"></HeaderStyle> </RowIndicatorColumn> <ExpandCollapseColumn> <HeaderStyle Width="20px"></HeaderStyle> </ExpandCollapseColumn> <Columns> <telerik:GridEditCommandColumn ButtonType="LinkButton" UniqueName="EditCommandColumn"> <ItemStyle CssClass="GridImageButton" /> </telerik:GridEditCommandColumn> <telerik:GridBoundColumn DataField="ClientId" DataType="System.Int32" HeaderText="ClientId"<telerik:RadComboBox ID="ddlcmd" runat="server" CheckBoxes="true" Width="300px" OnClientItemChecked="OnClientItemChecked" AllowCustomText="false"> <Items> <telerik:RadComboBoxItem Text="item1" checked="true" /> <telerik:RadComboBoxItem Text="item2" checked="true" /> <telerik:RadComboBoxItem Text="item3" /> <telerik:RadComboBoxItem Text="item4" checked="true" /> </Items> </telerik:RadComboBox>function OnClientItemChecked(sender, eventArgs) { var item = eventArgs.get_item(); sender.set_text("You checked " + item.get_text()); }i have a Telerik RadGrid in a ASP.Net page, my solution is using MVP pattern. i need implementing MVP pattern for CRUD operations for my RadGrid. any body knows about this?
many thanks.