Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
739 views
 my requirement is little different. I have a RadGrid (Auto generated columns) on my web page. I’ve got 4 columns all together (From DB). There is a column called “Doc Name”. As I use Auto generate column feature, I get all columns as GridBoundColumns.  I need to change “Doc Name” Grid Bound Column to link button or hyper link column. (Each and every row has a related .PDF file which need to be opened when user click a cell of that column)


Eg:

Doc Name                           Document Title                     Fields                 

Doc 1                                        Drawing 1                             text                   

Doc 2                                         Drawing 1 of 2                     button

Could you please help me to find how to change GridBoundColumn to GridButtonColumn (Link/Hyperlink) in runtime?

Regards,
Tray

Tray
Top achievements
Rank 1
 answered on 27 Dec 2012
9 answers
278 views
using <SelectedItemStyle BackColor="Red" /> works fine,
using any <SelectedItemStyle BackColor="#rgb" /> leaves the Background painted with selected color after selecting another row, this only happens on Firefox3.

Princy
Top achievements
Rank 2
 answered on 27 Dec 2012
5 answers
309 views
Hi,
I want to add a dropdown and a button in radgrid. The values in the dropdown are static(for example: "male"  and "female").

I want to have the dropdown and button in the inseritemtemplate and edititemtemplate as well . Foe the button how should the aspx.cs be invoked?

How to add and use the dropdown and button in radgrid
Thanks
Shinu
Top achievements
Rank 2
 answered on 27 Dec 2012
4 answers
285 views
Hello

I'm trying to change the background image of an RadButton with javascript:

<telerik:RadButton runat="server" Width="85px" Height="33px" ID="btnSup"">
                <Image IsBackgroundImage="True" ImageUrl="/Images/Buttons/test.png"></Image>
</telerik:RadButton>

But I can't figure out how to do this? I have looked in the documentation here http://www.telerik.com/help/aspnet-ajax/button-client-side-basics.html but did not find anything.

Any suggestions?

-Casper
Casper
Top achievements
Rank 1
 answered on 26 Dec 2012
1 answer
92 views
I have created few GridDropDownColumn in my page in design of the page with the properties of 
<telerik:GridDropDownColumn DataField="Department_Name"
                    FilterControlAltText="Filter ddlDepartment column" HeaderText="Department"
                    UniqueName="ddlDepartment" ListDataMember="Department" ListTextField="Department_Name" ListValueField="Department_Id">
                </telerik:GridDropDownColumn>

I don't want to use DataSourceId to define from the design of the page since I need to load the records in the loading time of the grid and I am using data layer to call the department table records. I have already created the function in data layer which returns all department records in data table.

Same as I need to do for Job Title and Location. I think I need to load these griddropdowns before loading the records in Grid. I read the http://www.telerik.com/help/aspnet-ajax/grid-customize-configure-griddropdowncolumn.html page but still it didn't help me.
Elliott
Top achievements
Rank 2
 answered on 26 Dec 2012
7 answers
778 views
Hi,

I want to change a cell value using itemtamplate field. and after this leaving this cell i want to update row values.
For example:

In itemtamplate field I have Quantity of Product. When I change Quantity the Total amount should also change. 

Title Quantity  Price  Amount
ABC 5 100 5000

If change quantity

Title Quantity  Price  Amount
ABC 7 100 7000

It should be change when i leave this quantity cell. Please guide me how i can catch particular cell leave event and how i can update value from other cell.

Regards
Mohsin JK
Sabaratnam
Top achievements
Rank 1
 answered on 26 Dec 2012
4 answers
539 views
Is there a way to remove the Filter Row and set it into the Column Header?

setting the show header to false, it hides both header and filter.

I've tried removing the filter and adding a custom one, but it doesn't work the same way, anyone has a solution?

i just don't want to have 2 rows on the header (header and filter)
David
Top achievements
Rank 1
 answered on 26 Dec 2012
0 answers
89 views
I have recently upgraded to the newest version on controls for asp.net.  I am not sure if this was an issue with the old version or not since I have just seen this issue.  When the grid load on the screen and I do not scroll on the screen if I hit the combo box on the grid the dropdown is in the correct position.  When I scroll down the page to see more of the grid and then click on the combobox the drop down pops up in the wrong position and shown in the attachment.

this is the code behind for the cell in the grid.
  <telerik:GridTemplateColumn HeaderText="Status" SortExpression="MarketingStatusTypeName" DataField="MarketingStatusTypeName" UniqueName="MarketingStatusTypeName" Groupable="False" Reorderable="False">
         <ItemTemplate>
                 <telerik:RadComboBox ID="GridStatusDropDown" runat="server" DataTextField="MarketingStatusTypeName" AutoPostBack="true" DataValueField="MarketingStatusTypeID"  OnSelectedIndexChanged="GridStatusDropDown_SelectedIndexChanged"  />
         </ItemTemplate>
        <ItemStyle VerticalAlign="Middle" />
</telerik:GridTemplateColumn>
Eric Klein
Top achievements
Rank 1
 asked on 26 Dec 2012
0 answers
77 views
I have an extremely dense RadGrid, something like 25 columns of integers and %s, as well as a couple of large strings.  Just getting it to fit into my workstation's fairly large screen was a challenge.

The default export to PDF is a mess (overlapping columns, mis-aligned headers, etc) and everything I've tried so far, based on the forum entries has failed to completely fix it.  (Even   <Pdf  PageWidth="20in" PageHeight="8.5in"  /> )

Is there any possibility of a future release of the RadGrid having some sort of autoformat capability?  

Failing that has anyone written any sort of generic code that would help in a situation like this?

Let's cancel this post.  Autoformat would be nice but I've beaten the grid into submission (sort of).  
(And I've just been told that PDF export is no longer a requirement...)
Thanks.
Boris
Top achievements
Rank 1
 asked on 26 Dec 2012
4 answers
173 views
Hi Guys,

I'm working with a RadWindow, when this is loading show a image processing, but I want to know how can I to do to show and image when this radwindow is processing before to close.

The Radwindon take arround 20 seconds while processing the postbak before to close.
I need to block IU while this process de request.

Thanks.
Alex
Top achievements
Rank 1
 answered on 26 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?