or
| <script type="text/javascript"> function ShowDescriptionForm() { window.radopen("test.aspx", "ShowComment"); return false; } </script> <div align="center"> |
| <object style="height: 245px; width: 301px;"> |
| <param name="movie" value="http://www.youtube.com/v/cL9Wu2kWwSY&color1=0xb1b1b1&color2=0xcfcfcf&feature=player_embedded&fs=1"> |
| </param> |
| <param name="allowFullScreen" value="true"></param> |
| <param name="allowScriptAccess" value="always"></param> |
| <embed src="http://www.youtube.com/v/cL9Wu2kWwSY&color1=0xb1b1b1&color2=0xcfcfcf&feature=player_embedded&fs=1" |
| type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" |
| width="301" height="245"></embed></object> |
| <br /> |
| <br /> |
| <br /> |
| <p> |
| <asp:LinkButton runat="server" ID="lbtnTest" Text="Test" OnClientClick="return ShowDescriptionForm();"></asp:LinkButton> |
| </p> |
| <telerik:RadWindowManager ID="RadWindowManager1" runat="server" > |
| <Windows> |
| <telerik:RadWindow ID="ShowComment" runat="server" Width="600px" Style="z-index: 10000" |
| Height="650px" Modal="true" ShowContentDuringLoad="false" VisibleStatusbar="false" /> |
| </Windows> |
| </telerik:RadWindowManager> |
| </div> |
function gridCommand(sender, args) { if (args.get_commandName() == "DownloadAttachment") { // some logic here } }<table cellspacing="0" class="rcTable rcSingle" summary="Table holding date picker control for selection of dates." style="width:100%;"> <caption style="display:none;"> RadDatePicker </caption><thead style="display:none;"> <tr> <th scope="col"></th> </tr> </thead><tbody> <tr> <td class="rcInputCell" style="width:100%;"><span id="ctl00_BC_G1_GD_ctl00_ctl06_RDIPDate_dateInput_wrapper" class="riSingle RadInput " style="display:block;width:100%;"><input id="ctl00_BC_G1_GD_ctl00_ctl06_RDIPDate_dateInput" name="ctl00$BC$G1$GD$ctl00$ctl06$RDIPDate$dateInput" class="riTextBox riEnabled" type="text" /><input id="ctl00_BC_G1_GD_ctl00_ctl06_RDIPDate_dateInput_ClientState" name="ctl00_BC_G1_GD_ctl00_ctl06_RDIPDate_dateInput_ClientState" type="hidden" /></span></td> <td><a title="Open the calendar popup." href="#" id="ctl00_BC_G1_GD_ctl00_ctl06_RDIPDate_popupButton" class="rcCalPopup">Open the calendar popup.</a></td> </tr> </tbody> </table>protected void RadGrid1_ItemCommand(object sender, GridCommandEventArgs e) { if (e.CommandName == "PerformInsert" || e.CommandName == "Update") { //some code block if (Session["idSess"] == null) { objBz.Insert(objEntity); e.Canceled = false; } else { objBz.Update(objEntity); RadGrid1.MasterTableView.ClearEditItems(); } }