Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
333 views

Hi,

I am trying to add a column to my grid where there is a link to another page. For this, I have been using the GridHyperLinkColumn which does the job, but now instead of the text "View details" which I previously had as a hyperlink, I would like to place an icon (the same for every row in the grid). I tried with the GridHyperLinkColumn but I don't think it supports images. For this, I can only see using GridButtonColumn, but how do I insert the link with this type of column? The link is using the result from a select to detect the id of the content in order to form the url:

 

<telerik:GridHyperLinkColumn DataNavigateUrlFormatString="/lms_bd/ContentDetails.aspx?content={0}" Target="_self" DataTextFormatString="my edit page" DataNavigateUrlFields="ContentID" UniqueName="ExternalEditLink" HeaderText="View Details" Text="View" >
</telerik:GridHyperLinkColumn>

In the .cs code of the ContentDetails.aspx page, the control literal1 receives the value passed in the url:

protected void Page_Load(object sender, EventArgs e)

{
string thisContent = Request.QueryString["content"].ToString();
Literal1.Text = thisContent;
}

I then use the following paramater in my select command:

<SelectParameters>
<asp:ControlParameter ControlID="Literal1" Name="content" PropertyName="Text" Type="String" />
</SelectParameters>

Does anyone have any suggestions?
Thanks!

Pavlina
Telerik team
 answered on 07 May 2009
1 answer
107 views
i need code for rad upload , on clicking remove button if none of the checkbox is selected it should alert "select any item to remove as msg"
Shinu
Top achievements
Rank 2
 answered on 07 May 2009
1 answer
112 views
Hi,
i am using Image manager to add pictures to editor content, ViewPaths is set as ~/MyImages, so when picture is inserted - path becomes /MyApp/MyImages/MyPic.jpg. But on production server a virtual folder can be different, or just root, so i would like to have pictures inserted like MyImages/MyPic.jpg. Is there a simple way to do so? Of course i can make replacement in code, but perhaps there is some property, which i do not see
Thanks
Alex
Rumen
Telerik team
 answered on 07 May 2009
1 answer
74 views
Hi,
After calling ajaxRequest on a RadAjaxManager, the method pageLoad gets called. Is this normal? Is there anything I can do/configure so this does not happen?

Thanks.
Teodorico
Top achievements
Rank 1
 answered on 07 May 2009
1 answer
100 views
Hello,

I have a RadGrid with a column set to Visible=false that I only want shown after a button_click event. Upon the click event, the column is set to Visible=true and is shown.  At this point, I want the rows text color changing according to the value in the newly visible column.

I have the column appearing on the click event, and I can color the row text straight away by setting it in RadGridReview_ItemDataBound event.  But this means the color is set before clicking the butotn. What event do I need to fire or handle to make it color them only after clicking the button?

Thanks in advance,
Paul
Paul
Top achievements
Rank 1
 answered on 07 May 2009
3 answers
232 views
Hi,

I'm trying to develop an app where users can add, edit, delete comments. Users have requested an "auto-save" feature for the comments because they spend a lot of time on single pages. We considered using a rad window, but users wanted to see the contents of the page (no modal dialog). My current approach is to use a RAD Ajax, RAD Grid, Rad Editor, and a timer. Does anyone have an example of something similar?

Thanks,
Sam
Sam Stange
Top achievements
Rank 1
 answered on 07 May 2009
0 answers
115 views
Hi, Telerik,
I have upgraded my application to radcontrols for asp.net ajax but now I have found some issues that dont work:

1. I have a treeview that cause automatically expand of the parent nodes when you click it on the Client in order to see their childs and it works on the treeview classic.
What happen that now it does not work anymore with radcontrols for aspnet ajax?

2. I want to put in Bold the links of the treenode. My treeview does not use skins and it looks fine on the treeview classic. but with the radcontrols for aspnet ajax the font is smaller and the bold style was lost. How can i put the bold for the links and bold-underline for the hover links.

Can you help?
Thanks,
Daniel.
dany7487
Top achievements
Rank 1
 asked on 06 May 2009
3 answers
1.6K+ views
I want to know the exact version of this file.. so my employer can download the correct version of it.

name of file
RadAjax.Net2.dll
File Version: 1.7.2.0

I have attached a screen of it




http://i43.tinypic.com/140ekwl.jpg

thankx in advance...
ManniAT
Top achievements
Rank 2
 answered on 06 May 2009
2 answers
381 views

Hi,

I set timer to referesh RadGrid.  On the page also has RadAjaxManager  and RadAjaxLoadPanel.  After few reloadings occured, then I get the error message below. 

May I have a clue? 

Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.

Details: Error parsing near 'Telerik.Web.UI 2009.'.

Thanks,

Duy

ManniAT
Top achievements
Rank 2
 answered on 06 May 2009
1 answer
128 views
Hi,

I have just downloaded the latest release trial version to test, and I don't like the Segoe UI font used in  some of the controls, specifically tooltips and radWindow title in the Web20 skin. I;d like to change this to something more suitable for our application. What's the best practice for this? Just add the relevant Css classes to our stylesheet or turn off embedded skins and copy the original stylesheet over and edit the appropriate bits (this seems like a lot of work for minor tweaks).

Cheers,

John
ManniAT
Top achievements
Rank 2
 answered on 06 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?