Hi every body
I'm currently working with control RadGrid, my module I have 4 RadGrid, one of them has hierarchy, and when I want to work with the last RadGrid Control, it does not work, because when I press a icon from a column that call a itemcommand event don't work it, don't make anything, i have the next code:
<telerik:RadGrid ID="grdInvitacionPos" runat="server" Skin="Windows7" AutoGenerateColumns="False" Width="700px" OnItemCommand="grdInvitacionPos_ItemComm"> <MasterTableView> <Columns> <telerik:GridTemplateColumn> <ItemTemplate> <asp:CheckBox ID="chkEnviar" runat="server" CausesValidation="false" /> </ItemTemplate> </telerik:GridTemplateColumn> <telerik:GridBoundColumn DataField="Compania" HeaderStyle-HorizontalAlign="Center" HeaderText="Compañia"> <HeaderStyle HorizontalAlign="Center" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Nombre" HeaderStyle-HorizontalAlign="Center" HeaderText="Nombre"> <HeaderStyle HorizontalAlign="Center" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="TipodeParticipante" HeaderStyle-HorizontalAlign="Center" HeaderText="Tipo de Participante"> <HeaderStyle HorizontalAlign="Center" /> </telerik:GridBoundColumn> <telerik:GridTemplateColumn HeaderText="Editar Correo"> <ItemTemplate> <asp:ImageButton ID="send" runat="server" CommandName="Enviar" CausesValidation="false" ImageUrl="~/images/DOER_IMAGES/delete.gif" /> </ItemTemplate> </telerik:GridTemplateColumn> </Columns> <EditFormSettings> <EditColumn FilterControlAltText="Filter EditCommandColumn column"> </EditColumn> </EditFormSettings> </MasterTableView> <FilterMenu EnableImageSprites="False"> </FilterMenu> </telerik:RadGrid>
protected void grdInvitacionPos_ItemComm(object sender, GridCommandEventArgs e) { GlobalNotify.Text = "item command"; GlobalNotify.Show(); }I hope you can help me
Thak you for your attention
Good Day
Hi,
We need to hide the GroupExpandCollapse column for groping with RadGrid.
We tried following two ways -
1) Set AllowGroupExpandCollapse="false" in client setting.
2) Add ExpandCollapseColumn and set visible= "false"
But both are not working.
Please let us know how to hide the GroupExpandCollapse column for groping with RadGrid.
Regards,
Shirish
<telerik:RadWindowManagerrunat="server"ID="RadWindowManager1"EnableShadow="true"/>
<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server"><script type="text/javascript">//![CDATA[var myName = myMasterTable.get_selectedItems()[0].getDataKeyValue( 'Name' );var myPrompt = "Are you sure you want to delete this program?\r\n\r\n";alert( myPrompt + myName );radconfirm(myPrompt + myName, ConfirmProgramDeleteCallBackFn, 330, 100, null, 'Delete Program?' );
.DefaultCustom.RadEditor{ background-color: #ececec;} /* reWrapper */.DefaultCustom.reWrapper{ border: solid 1px #828282;} .DefaultCustom.RadEditor .reContentCell{ border: solid 1px #828282;}.DefaultCustom.reColorPicker,.DefaultCustom.reInsertTable,.DefaultCustom.reDropDownBody,.DefaultCustom.reCustomLinks a:hover{ border: solid 1px #828282;}<ClientSettings> <Selecting AllowRowSelect="True" /> <Scrolling AllowScroll="True" UseStaticHeaders="True" /> <ClientEvents OnRowClick="SelectShoppingList_RowClick" /> <% This triggers an Ajax Call on Row Click %></ClientSettings><MasterTableView DataKeyNames="Account_ID, List_ID" ClientDataKeyNames="Account_ID, List_ID"> <Columns> <telerik:GridButtonColumn ButtonType="ImageButton" CommandName="SelectList" CommandArgument="Account_ID, List_ID" ImageUrl="../Images/btSelectCharcoal.gif" Visible="false" UniqueName="SelectColumn"> </telerik:GridButtonColumn> <telerik:GridTemplateColumn UniqueName="TemplateColumn" ItemStyle-Width="400px"> <ItemTemplate> <asp:Label ID="lblTemplateName" runat="server" CssClass="slListName"> <%# DataBinder.Eval(Container.DataItem, "List_Name")%></asp:Label><br /> <asp:Label ID="lblLastUpdated" runat="server" CssClass="slDetailLine"> <%# DataBinder.Eval(Container.DataItem, "Detail_Line")%></asp:Label> </ItemTemplate> </telerik:GridTemplateColumn> <telerik:GridBoundColumn UniqueName="ItemsColumn" DataField="Item_Count_Display" ItemStyle-Width="80px" ItemStyle-CssClass="slItemCount"> </telerik:GridBoundColumn> <telerik:GridTemplateColumn UniqueName="CommandsColumn"> <ItemTemplate> <telerik:RadButton ID="btnRename" runat="server" CommandName="RenameList" CommandArgument="Account_ID, List_ID" Text="Rename" UniqueName="RenameColumn" ButtonType="LinkButton" BorderWidth="0" Font-Underline="true" BackColor="#063648" ForeColor="White"> </telerik:RadButton> <%OnClick on this button always triggers the Ajax Call which I do not want %> <br /> <telerik:RadButton ID="btnDelete" runat="server" CommandName="DeleteList" CommandArgument="Account_ID, List_ID" Text="Delete" UniqueName="DeleteColumn" ButtonType="LinkButton" BorderWidth="0" Font-Underline="true" BackColor="#063648" ForeColor="White"> </telerik:RadButton><%OnClick on this button always triggers the Ajax Call which I do not want %> <telerik:RadButton ID="btnCancel" runat="server" Width="72" Height="31"> <Image ImageUrl="../Images/btCancelCharcoal.gif" /> </telerik:RadButton><% This button does not trigger the AJAX call which is what i want%> </ItemTemplate> </telerik:GridTemplateColumn> <telerik:GridButtonColumn FilterControlAltText="Filter DeleteCol column" UniqueName="DeleteCol" ButtonType="ImageButton" CommandName="DeleteItemFromShoppingList" CommandArgument="Account_ID,List_ID" ConfirmText="Are you sure you want to delete this item from the list ?" ConfirmTitle="Delete List" ImageUrl="..\Images\icoDeleteRedX.gif" ItemStyle-HorizontalAlign="Left"> ><% Similarly This button does not trigger the AJAX call which is what i want%> </telerik:GridButtonColumn> </Columns></MasterTableView>Hi Team,
In my web application,
<asp:TableRow> <asp:TableCell> <div id="JumpChoice"> <table> <tr> <td id="Td1"> <span class="smallTitle">Column Repeat</span><br /> <telerik:RadComboBox ID="uxCheckboxChoicesColumnRepeat1" runat="server" OnClientSelectedIndexChanged="CheckBoxChoicesColumnRepeatChanged1"> <Items> <telerik:RadComboBoxItem Text="One Column" Value="1" /> <telerik:RadComboBoxItem Text="Two Columns" Value="2" /> <telerik:RadComboBoxItem Text="Three Columns" Value="3" /> <telerik:RadComboBoxItem Text="Four Columns" Value="4" /> </Items> </telerik:RadComboBox> </td> </tr> <tr> <td> <asp:Panel runat="server" ID="uxJumpPanel"> <telerik:RadListView ID="feeldChoices" runat="server" OnItemDataBound = "feeldChoices_ItemDataBound" > <ItemTemplate> <table cellpadding="0" cellspacing="0"> <tr> <td> <telerik:RadTextBox runat="server" Text='<%# Eval("Text") %>' onkeyup="SyncListToCheckbox(this)" ID="uxItemText" Width="260"> </telerik:RadTextBox> <telerik:RadComboBox runat="server" ID="uxSelectPage1" ></telerik:RadComboBox> </td> <td> <img id="imageAdd" style="cursor: pointer" runat="server" onclick="InitiateAjaxRequest('1,3,add|' + this.id + ',' + selectedDockId); SetUnsaved();" alt="Add field choice" border="0" src="Images/Add.png" /> </td> <td> <img id="imageDelete" style="cursor: pointer" runat="server" onclick="InitiateAjaxRequest('1,3,remove|' + this.id + ',' + selectedDockId); SetUnsaved();" alt="Delete field choice" border="0" src="Images/Delete.png" /> </td> </tr> </table> </ItemTemplate> </telerik:RadListView> </asp:Panel> </td> </tr> </table> </div> </asp:TableCell> </asp:TableRow>
what I want is, how do I set value to this uxSelectPage1 combobox from codebehind?
//Thanks