Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
151 views
I have a simple RadGrid with 4 GridBoundColumn, I've no other particular properties set beside the basic. The problem i have is that when the text is too long for a column it wraps correctly in IE, but in Chrome and Safari it doesn't wrap at all, it moves all other columns across the screen and looks quite messy.

Is there a way to do this in a uniform manner on all browsers.
Dimo
Telerik team
 answered on 08 Feb 2010
1 answer
194 views
Hello...

I was wondering how I could prompt a user for input based on a server side value.

Example:
User scans a barcode into a textbox
I parse the barcode with a class I wrote serverside
If the scanned barcode starts with an "s" I need to prompt the user for a quantity, if not "s" then I continue with the code using the quantity of 1.

So If there is an "s" I need to pause the code until I get the user input. Or maybe use ajax somehow to return the quantity and call a serverside function to continue??????

Thank you
Georgi Tunev
Telerik team
 answered on 08 Feb 2010
1 answer
131 views
How can show the Ajax loading panel in RadControl while navigate through next / prev link?
Shinu
Top achievements
Rank 2
 answered on 08 Feb 2010
1 answer
122 views
hi all.
on my webform  i placed a RadNumericTextBox.
how do i set its value to 0 from a simple java_script function that i call?
Shinu
Top achievements
Rank 2
 answered on 08 Feb 2010
2 answers
119 views
I have download the Dynamic Data Field Templates example you created for some of the rad control.  Do you have a field template example using RadBinary image and Dynamic Data using L2S connected to Sql Server 2008 with a column dbtype of image?  I ahve been trying to make it work and am getting familiar with creating my own custom FieldTemplates using UIHint ect. but have not been able to get RadBinary image working, If you could provid an example in Vb.net that would be great.

Thank you,

Daniel Elebash
Rosen
Telerik team
 answered on 08 Feb 2010
2 answers
104 views
How to Retrive Images from Database in RadEditor. ?

Suppose i design blogs than i need to display Text As well as Images from Database .
How is it possible . ?
Dhruval Dave
Top achievements
Rank 1
 answered on 08 Feb 2010
1 answer
181 views
Hi,
i am trying to use a dropdownlist(separate data source) inside a radgrid. While binding the radgrid to the datasource i get this exception:
Exception Details: System.IndexOutOfRangeException: Cannot find column Id.
here is the code that i am using the ascx file

<telerik:RadGrid ID="radGridApplicantStatus" runat="server" AllowSorting="true" AllowPaging="true" 
                PageSize="12" AllowMultiRowSelection="false" ShowGroupPanel="true" GridLines="None" 
                OnNeedDataSource="OnRadGridApplicantStatus_NeedSource" OnSortCommand="OnRadGridApplicantStatus_SortCommand" 
                OnItemDataBound="OnRadGridApplicantStatus_ItemDataBound"
                <PagerStyle Mode="NumericPages" AlwaysVisible="true" Position="Bottom" /> 
                <MasterTableView AutoGenerateColumns="false" EnableNoRecordsTemplate="true" ShowHeadersWhenNoRecords="true" 
                    AllowNaturalSort="false"
                    <SortExpressions> 
                        <telerik:GridSortExpression FieldName="Id" SortOrder="Descending" /> 
                    </SortExpressions> 
                    <NoRecordsTemplate> 
                        Jobs 
                    </NoRecordsTemplate> 
                    <Columns> 
                        <telerik:GridBoundColumn UniqueName="JobID" SortExpression="JobID" HeaderText="Order #" 
                            DataField="JobID" HeaderStyle-CssClass="ms-toolbar" HeaderStyle-Width="17%" HeaderStyle-HorizontalAlign="Left" 
                            ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="false"
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn UniqueName="JobTitle" SortExpression="JobTitle" HeaderText="Title" 
                            DataField="JobTitle" HeaderStyle-CssClass="ms-toolbar" HeaderStyle-Width="12%" 
                            HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left" ItemStyle-Wrap="false"
                        </telerik:GridBoundColumn> 
                         
                      <telerik:GridTemplateColumn UniqueName="ApplicantStatus" SortExpression="ApplicantStatus" 
                            HeaderText="Applicant Status" DataField="ApplicantStatus" HeaderStyle-CssClass="ms-toolbar" 
                            HeaderStyle-Width="12%" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left" 
                            ItemStyle-Wrap="false"
                            <ItemTemplate> 
                                <asp:DropDownList runat="server" ID="ddlApplicationStatus"
                                </asp:DropDownList> 
                            </ItemTemplate> 
                        </telerik:GridTemplateColumn> 
                    </Columns> 
                </MasterTableView> 
            </telerik:RadGrid> 



Questions:
1. Should i use this gridtemplatecolumn or a GridDropDownColumn? I need to show a dropdown box in the grid which is in non -Editable mode.
2. How to fix this error?

Shinu
Top achievements
Rank 2
 answered on 08 Feb 2010
3 answers
97 views
Q3 2009 SP2

SortedBackColor does not work with client-side databinding, is it supposed to?  I'm using GetBindingData() on the server.  Sorting the column data works fine, but how can I change the background color of the sorted column??

Thanks.
Yavor
Telerik team
 answered on 08 Feb 2010
1 answer
166 views
I have a rad grid that displays in the following manner. What I am trying to accomplish to is if you see the columns with the heading(s) Name, LegName, MedicalConditions, DateofBirth and id displays as two rows, as it normally would, but what I would like to do is to have all that data display in ONE Row because it all belongs to one registration. If you look at the two images, image one is how the data comes out of the DB normally. Image two is how I would like to be. Please keep in mind that this is a small example and I actually have more fields than just this, so I am looking for something extensible. Thanks for your help!







Princy
Top achievements
Rank 2
 answered on 08 Feb 2010
6 answers
269 views
Hello,
 
I have a radgrid that is paged and i have enabled scrolling, with 3 frozen columns.

I have three problems:
1) I would like to disable vertical scrolling. The user of my grid can set the page size to a number of rows and I would like the proper number of rows to be shown, without vertical scrolling. Can this be done?
2) It seems that the column widths are not scrolled at the same time as the columns are when using horizontal scrolling. By this I mean that when columns are scrolled, the size that they will take is the size of the original column that was showing in that spot before the scrolling took place. This does not look good and reduces the amount of data I can show in the grid at the same time.
3) As soon as I enabled horizontal scrolling, a number of columns on the right are missing and can't be scrolled to. If I disabled horizontal scrolling then they reappear and I can scroll to them using Internet Explorer's horizontal scroll bar.

An alternative for me would be to use the default IE scrolling, which fixes problems #1,#2 and #3, but this prevents me from freezing some columns and also the grid displays a vertical line in middle of the column that is at the right of the window.

Regards,

Sylvain
Krishnaprabhuraja
Top achievements
Rank 1
 answered on 07 Feb 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?