Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
209 views

Hi Everybody !!

I have created a rad grid dynamically along with custom skin. Now everything is working properly but not getting image button for edit & delete. Already I have assigned the path for the edit & delete images but each time grid taking link button.

Have a look my code snippet as below :

 

RadGridRow.MasterTableView.EditFormSettings.EditColumn.ButtonType = GridButtonColumnType.ImageButton
RadGridRow.MasterTableView.EditFormSettings.EditColumn.InsertImageUrl =

"../Admin/Update.gif";

 

RadGridRow.MasterTableView.EditFormSettings.EditColumn.UpdateImageUrl =

"../Admin/Update.gif";

 

 


Please suggest me a better way to display image buttons.

Thnx in advance!!
rajendra

Yavor
Telerik team
 answered on 10 Nov 2008
1 answer
236 views
Hello,

I have a mail message file whose content is html and which has an embedded image inside it.

I need to display the content along with the embedded image inside RadEditor.

I set the content property of RadEditor to the appropriate html but the embedded image is not rendered.

Code is as follows:

//Get HTML Content for RadEditor
string content =
"<html xmlns:v=\"urn:schemas-microsoft-com:vml\" xmlns:o=\"urn:schemas-microsoft-com:office:office\" xmlns:w=\"urn:schemas-microsoft-com:office:word\" xmlns=\"http://www.w3.org/TR/REC-html40\">\r\n\r\n<head>\r\n<META HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=us-ascii\">\r\n<meta name=Generator content=\"Microsoft Word 11 (filtered medium)\">\r\n<!--[if !mso]>\r\n<style>\r\nv\\:* {behavior:url(#default#VML);}\r\no\\:* {behavior:url(#default#VML);}\r\nw\\:* {behavior:url(#default#VML);}\r\n.shape {behavior:url(#default#VML);}\r\n</style>\r\n<![endif]-->\r\n<style>\r\n<!--\r\n /* Font Definitions */\r\n @font-face\r\n\t{font-family:Calibri;\r\n\tpanose-1:2 15 5 2 2 2 4 3 2 4;}\r\n /* Style Definitions */\r\n p.MsoNormal, li.MsoNormal, div.MsoNormal\r\n\t{margin:0in;\r\n\tmargin-bottom:.0001pt;\r\n\tfont-size:12.0pt;\r\n\tfont-family:\"Times New Roman\";}\r\na:link, span.MsoHyperlink\r\n\t{color:blue;\r\n\ttext-decoration:underline;}\r\na:visited, span.MsoHyperlinkFollowed\r\n\t{color:purple;\r\n\ttext-decoration:underline;}\r\nspan.EmailStyle17\r\n\t{mso-style-type:personal-compose;\r\n\tfont-family:Arial;\r\n\tcolor:windowtext;}\r\n@page Section1\r\n\t{size:8.5in 11.0in;\r\n\tmargin:1.0in 1.25in 1.0in 1.25in;}\r\ndiv.Section1\r\n\t{page:Section1;}\r\n-->\r\n</style>\r\n<!--[if gte mso 9]><xml>\r\n <o:shapedefaults v:ext=\"edit\" spidmax=\"1026\" />\r\n</xml><![endif]--><!--[if gte mso 9]><xml>\r\n <o:shapelayout v:ext=\"edit\">\r\n  <o:idmap v:ext=\"edit\" data=\"1\" />\r\n </o:shapelayout></xml><![endif]-->\r\n</head>\r\n\r\n<body lang=EN-US link=blue vlink=purple>\r\n\r\n<div class=Section1>\r\n\r\n<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;\r\nfont-family:Arial'><o:p>&nbsp;</o:p></span></font></p>\r\n\r\n<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;\r\nfont-family:Arial'><img width=341 height=308 id=\"_x0000_i1027\"\r\nsrc=\"cid:image001.jpg@01C93E02.75EFB430\"><o:p></o:p></span></font></p>\r\n\r\n<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;\r\nfont-family:Arial'><o:p>&nbsp;</o:p></span></font></p>\r\n\r\n<p class=MsoNormal><strong><b><font size=3 face=Calibri><span style='font-size:\r\n12.0pt;font-family:Calibri'>William Upshaw</span></font></b></strong><o:p></o:p></p>\r\n\r\n<div>\r\n\r\n<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;\r\nfont-family:Calibri'>Senior Consultant</span></font><o:p></o:p></p>\r\n\r\n</div>\r\n\r\n<div>\r\n\r\n<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;\r\nfont-family:Calibri'>Allin Consulting</span></font><o:p></o:p></p>\r\n\r\n</div>\r\n\r\n<div>\r\n\r\n<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:10.0pt;\r\nfont-family:Calibri'>404.353.7782 (mobile)</span></font><o:p></o:p></p>\r\n\r\n</div>\r\n\r\n<div><span title=\"http://www.allin.com/\">\r\n\r\n<p class=MsoNormal><font size=3 face=\"Times New Roman\"><span style='font-size:\r\n12.0pt'><o:p>&nbsp;</o:p></span></font></p>\r\n\r\n</div>\r\n\r\n<div>\r\n\r\n<p class=MsoNormal><font size=3 face=\"Times New Roman\"><span style='font-size:\r\n12.0pt'>&nbsp;</span><o:p></o:p></font></p>\r\n\r\n</div>\r\n\r\n<p class=MsoNormal><font size=3 face=\"Times New Roman\"><span style='font-size:\r\n12.0pt'><o:p>&nbsp;</o:p></span></font></p>\r\n\r\n</div>\r\n\r\n</body>\r\n\r\n</html>\r\n\r\n"

//Set RadEditor Content
radEditor.Content = content;

Regards,
Hetal.

 

Rumen
Telerik team
 answered on 10 Nov 2008
1 answer
149 views
I need to have 3  completely separate file upload sections on my page  (ie 3 separate instances of the file upload control, not 1 file upload with 3 upload sections)

Is it possible to have a separate progressarea for each one ?  I cant see any obvious way to associate a progress area with a specific file upload
Veselin Vasilev
Telerik team
 answered on 10 Nov 2008
1 answer
94 views
Hi ALL,
Can I put the header of the grid in the left side instead of put it on the top???
please if yes let me know how can I do that...

thanks
ghadeer
Vlad
Telerik team
 answered on 10 Nov 2008
3 answers
136 views
Is it possible that I can bind different attribute depends on what the node is to TreeView?

like if I have a XML  that has
<Node1 text="abc" value="a">
    <subNode1 gest="xxxxx"></subnode1>
</Node1>

I can bind to text on Node1 and bind to gest on SubNode1.
Atanas Korchev
Telerik team
 answered on 10 Nov 2008
4 answers
112 views
Hi I've been trying to interact two combobox's. But could not find out how.

I have two combobox's like this:

<

telerik:RadComboBox ID="RadComboBox1" runat="server" Skin="Office2007" EnableLoadOnDemand="true" HighlightTemplatedItems="true" DropDownWidth="150px" Width="150px"  onitemsrequested="RadComboBox1_ItemsRequested" />

 

<telerik:RadComboBox ID="RadComboBox2" runat="server" Skin="Office2007" EnableLoadOnDemand="true" HighlightTemplatedItems="true" DropDownWidth="150px" Width="150px"  onitemsrequested="RadComboBox2_ItemsRequested" />

I am filling their content in C# code.

 

private

void RadComboBox1_ItemsRequested(object o, Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs e)
{
// fill first Combobox's content
}

 

How can i get the selected value of first combobox? because i need that to fill second combobox.

Yana
Telerik team
 answered on 10 Nov 2008
1 answer
72 views
Not sure what I have setup wrong here.

Problem:  When I right-click and go to "Configure Ajax Manager" No controls fill in the left pane except for the top node that says "Controls".  When I click this, an error comes up that says, "This node can't be checked!".

I am using Visual Studio 2008 Professional Edition.
I dragged and dropped the RadAjaxManager from my toolbox to the designer form. (RadAjax Manager v1.8.6.0)
There is RadAjax.Net2.dll and radAjax.Net2.xml in my solutions bin directory.

Any ideas or need any more information?

Thanks,

Coty
Vlad
Telerik team
 answered on 10 Nov 2008
1 answer
114 views
<STRONG>Hi..<BR>i have a templated edit form.&nbsp; The ItemUpdate NEVER fires.   
The grid is bound to an objectdatasource.&nbsp; How do I force the form out of   
edit mode ?<BR>When a user call the INSERT command. <BR>Help<BR>Thanks</STRONG> 
Shinu
Top achievements
Rank 2
 answered on 10 Nov 2008
1 answer
123 views
Hi.. I'm using a grid with the built i editing.. and the WEBBLUE skin.. how do I change the graphic insert and canel buttons  -  CANCEL.GIF and UPDATE.GIF
I don't see them referenece in the skins or anyway.
thanks
Shinu
Top achievements
Rank 2
 answered on 10 Nov 2008
1 answer
74 views

I have an asp:LinkButton within a telerik:GridTemplateColumn.  I want to be able to click on the link and expand that row client side.  Is anybody aware of a code example that shows how this could be done?  Any help would be greatly appreciated.

 

 




 

Princy
Top achievements
Rank 2
 answered on 10 Nov 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?