hi all,
i am using Telerik Reporting to display QR Barcode to user. i am not able to include Tab in between the data.
how include tab in between data in QR Barcode.
QR barcode settings in attached file.
Hi Experts,
I want to bind data to linkbutton or show column inside Grid only only when data is coming from database .
My code as follows:-
<telerik:GridTemplateColumn HeaderText="Assigned" SortExpression="Assign"><br> <ItemTemplate><br> <asp:LinkButton runat="server" ID="lnkAssign" CausesValidation="false" CommandName="AssignClick"<br> Text='<%#Eval("Assign")%>' OnClick="lnk_Click"></asp:LinkButton><br> </ItemTemplate><br> </telerik:GridTemplateColumn>
I have also written code in C# to hide column
protected void rgDenialWorkList_PreRender(object sender, EventArgs e)<br> {<br> if (int i == "1")<br> {<br> rgDenialWorkList.MasterTableView.GetColumn("Assign").Visible = false;<br> }<br> }
I am getting error: DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'Assign'.
Please Help

<telerik:RadGrid ID="radGridAssociates" EnableViewState="True" runat="server" AllowSorting="false" AutoGenerateColumns="false" Skin="Web20" EnableTheming="True" ClientSettings-EnableRowHoverStyle="True" EnableEmbeddedSkins="True" OnItemDataBound="RadGridAssociatesItemDataBound" Width="548px" Height="290px" OnNeedDataSource="RadGridAssociatesNeedDataSource"> <ClientSettings AllowColumnsReorder="False" EnablePostBackOnRowClick="false" ClientEvents-OnRowSelected="usePopup"> <Resizing AllowColumnResize="True" EnableRealTimeResize="True" /> <Selecting AllowRowSelect="True" /> <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True" /> </ClientSettings> <MasterTableView DataKeyNames="Xref" ClientDataKeyNames="Xref" ShowHeadersWhenNoRecords="false" EnableNoRecordsTemplate="true" TableLayout="Fixed" AlternatingItemStyle-Font-Size="11px"> <ItemStyle HorizontalAlign="Center" Font-Size="11px" Width="548px"></ItemStyle> <NoRecordsTemplate> <div style="padding:5px; background:transparent; font-size:12px; text-align:left;"> No associates found </div> </NoRecordsTemplate> <Columns> <telerik:GridClientSelectColumn ButtonType="PushButton" Visible="False" CommandName="Select" Text="Select" UniqueName="column"> </telerik:GridClientSelectColumn> <telerik:GridTemplateColumn HeaderText="PIC" UniqueName="colPic"> <ItemStyle Width="30px"></ItemStyle> <HeaderStyle Font-Size="10px" Wrap="False" Width="30px"/> <ItemTemplate> <img alt='photo' src='<%= GetConfig().imageUrl %>?x=<%# Eval("XREF") %>&s=small' width="30" height="38" style="border:0px;"> </a> </ItemTemplate> </telerik:GridTemplateColumn> <telerik:GridTemplateColumn HeaderText="FLAGS" UniqueName="colFlags"> <ItemStyle Wrap="false" Font-Size="10px" Width="30px"></ItemStyle> <HeaderStyle Font-Size="10px" Wrap="False" Width="30px"/> <ItemTemplate> <asp:Label ID="lblAlerts" CssClass="flags" runat="server"></asp:Label> </ItemTemplate> </telerik:GridTemplateColumn> <telerik:GridTemplateColumn HeaderText="NAME" UniqueName="colName" ItemStyle-HorizontalAlign="Left"> <HeaderStyle Width="110px"></HeaderStyle> <ItemTemplate> <%# Eval("LastName") + ", " + Eval("FirstName") + " " + Eval("MiddleName") %> </ItemTemplate> </telerik:GridTemplateColumn> <telerik:GridBoundColumn HeaderText="S" DataField="Sex" UniqueName="colSex" HeaderTooltip="Sex"> <HeaderStyle Width="6px" Wrap="False" /> <ItemStyle Width="6px" Wrap="False" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn HeaderText="R" DataField="Race" UniqueName="colRace" HeaderTooltip="Race"> <HeaderStyle Width="7px" Wrap="False" /> <ItemStyle Width="7px" Wrap="False" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn HeaderText="HGT" DataField="Height" UniqueName="colHeight" HeaderTooltip="Height"> <HeaderStyle Width="12px" Wrap="False" /> <ItemStyle Width="12px" Wrap="False" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn HeaderText="WGT" DataField="Weight" UniqueName="colWeight" HeaderTooltip="Weight"> <HeaderStyle Width="14px" Wrap="False" /> <ItemStyle Width="14px" Wrap="False" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn HeaderText="AGE" DataField="Age" UniqueName="colAge" HeaderTooltip="Age"> <HeaderStyle Width="12px" Wrap="False" /> <ItemStyle Width="12px" Wrap="False" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn HeaderText="DOB" DataField="Dob" DataFormatString="{0:d}" UniqueName="colDob" HeaderTooltip="DOB"> <HeaderStyle Width="48px" Wrap="False" /> <ItemStyle Width="48px" Wrap="False" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn HeaderText="XREF" DataField="Xref" UniqueName="colXref" HeaderTooltip="XREF"> <HeaderStyle Width="36px" Wrap="False" /> <ItemStyle Width="36px" Wrap="False" /> </telerik:GridBoundColumn> <telerik:GridBoundColumn HeaderText="MATCHES" DataField="AssociatesMatchCount" UniqueName="colMatchCount"> <HeaderStyle Width="48px" Wrap="False" /> <ItemStyle Width="48px" Wrap="False" /> </telerik:GridBoundColumn> </Columns> <RowIndicatorColumn Visible="False"> </RowIndicatorColumn> <ExpandCollapseColumn Resizable="False" Visible="False"> </ExpandCollapseColumn> <EditFormSettings> <PopUpSettings ScrollBars="None" /> </EditFormSettings> </MasterTableView></telerik:RadGrid>
Hi mates,
I have a Telerik RadGrid with a DetailsTable, and the following CommandItemTemplate is in this DetailsTable:
<CommandItemTemplate>
< asp:LinkButton ID="btnNuevoAperitivoFrioIng" runat="server" ForeColor="#384e73" OnClick="btnNuevoAperitivoFrioIng_Click" ><img style="border:0px;vertical-align:middle; height:24px; width:24px" alt="" src="../img/buttons/add.png"/>Nuevo</asp:LinkButton>
< /CommandItemTemplate>
I need to get the ID of the expanded parent row when I clic on btnNuevoAperitivoFrioIng (in the btnNuevoAperitivoFrioIng_Click function). How could I get this ID, please?
Thanks a lot in advance.
Cheers.
David Ortega
Hi mates,
I have a Telerik RadGrid with a DetailsTable, and the following CommandItemTemplate is in this DetailsTable:
<CommandItemTemplate>
<asp:LinkButton ID="btnNuevoAperitivoFrioIng" runat="server" ForeColor="#384e73" OnClick="btnNuevoAperitivoFrioIng_Click" ><img style="border:0px;vertical-align:middle; height:24px; width:24px" alt="" src="../img/buttons/add.png"/>Nuevo</asp:LinkButton>
</CommandItemTemplate>
I need to get the ID of the expanded parent row when I clic on btnNuevoAperitivoFrioIng (in the btnNuevoAperitivoFrioIng_Click function). How could I get this ID, please?
Thanks a lot in advance.
Cheers.
David Ortega
Hi
I am exporting a radgrid to pdf and setting the background colour of alternate lines as light grey, font and font size for cells and footer in the item created event, and all is working as it should.
However I would like to change the text color or background color of a column based on the value of another column but I am not sure in which event I should do this while exporting to pdf. I tried the RadGrid1_ItemDataBound event but it has no effect on the pdf output.
Can you point me in the right direction?
Thanks

