Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
148 views
Hi Folks,

I have a contextmenu on my menu.  working fine.

In the contextMenu *Serverside*  ItemClick event, how do I get to the underlying menu items DataValueField?

I have my ID col bound to the Menu.  I just need to retrieve it so I can Edit or Delete the underlying data item.
Thanks,
Bob
Shinu
Top achievements
Rank 2
 answered on 19 Feb 2009
1 answer
72 views
With the new Q3 release, is this still the best way to accomplish a drag/drop from a grid to a treeview with the rad controls? 
http://www.telerik.com/community/code-library/aspnet-ajax/general/drag-and-drop-between-radgrid-and-radtreeview.aspx

Thanks,
Steve
Yavor
Telerik team
 answered on 19 Feb 2009
1 answer
117 views
Hi all,

Is there any Possibility to place  export to excel in side Radgrid (Beside to refresh icon). and export grid to excel.

I tried using  commanditem template it's working but while exporting some constraints i m facing  like(exporting referesh ,Add new record ,export to excel images and links ) even if i use ExportOnlydata="true" property also.

It would be great any help.


Shinu
Top achievements
Rank 2
 answered on 19 Feb 2009
3 answers
171 views
I need to use a RadWindow that works like a radconfirm (in the sense that it returns true/false) but I need more than just simple text on the confirm dialogue (which is why I can't use a radconfirm).  How can I acheive this (as well as have it "block" the page until a yes/no is clicked)?
Georgi Tunev
Telerik team
 answered on 19 Feb 2009
1 answer
57 views


if i am dropping the node from tree view to image (like recycle bin in desktop ), at this time I wanted open or close the radsplitter bar?  

Svetlina Anati
Telerik team
 answered on 19 Feb 2009
2 answers
165 views
Hi,

I have a web form that has several asp:textbox s on it it. Is it possible to attach a RadEditor to each textbox rather than having to replace them with a seperate RadEditor for each.

Also, I have seperately added the RadSpell control to the form and added some Javascript code so that when an asp:button is clicked it spell checks all of the textboxes on the web form. Can this spell check be performed on the RadEditor control is my above question is not possible?

Another also, if I do need to add RadEditors instead of asp:textbox s how do I remove the border colour that goes around the RadEditor as I would like the RadEditor to look like a usual textbox.

Regards
Gary
Gary
Top achievements
Rank 1
 answered on 19 Feb 2009
1 answer
145 views
i have two rad combo box
 whenever i select item in first rad combo box , their should be check that second combobox  selected index is 0 or more than 0 ,
OnClientSelectedIndexChanging of first combo box
similarly from second to first status has to check




Princy
Top achievements
Rank 2
 answered on 19 Feb 2009
2 answers
150 views
Hi,

Can someone tell me how to sort a node collection client-side pls
ali
Top achievements
Rank 1
 answered on 19 Feb 2009
2 answers
138 views
hello i am using EditorDropDown but i kip getting this error "the command InsertEmoticon is not implemented yet.
this is my code please help me

EditorDropDown InsertEmoticon = new EditorDropDown("InsertEmoticon"); 
                InsertEmoticon.Text = "Dynamic dropdown"
 
                //Set the popup width and height 
                InsertEmoticon.Attributes["width"] = "110px"; 
                InsertEmoticon.Attributes["popupwidth"] = "240px"; 
                InsertEmoticon.Attributes["popupheight"] = "100px"; 
                                
                for (int i = 1; i < 94; i++) 
                { 
                    InsertEmoticon.Items.Add(new EditorDropDownItem("<IMG SRC='pages/emoticons/"+i+".gif' />", "pages/emoticons/"+i+".gif")); 
                    
                } 
                main.Tools.Add(InsertEmoticon); 
                //main.Tools.Add(InsertEmoticon);   
                editor.OnClientCommandExecuted = "OnClientCommandExecuting"
               string script = "function OnClientCommandExecuting(editor, args)" + 
               "{" + 
                   "var name = args.get_name();" + 
               "var val = args.get_value();" + 
               "if (name == 'InsertEmoticon'){" + 
               "editor.pasteHtml('<img src=\"' + val + '\"/>');" + 
               "args.set_cancel(true);" + 
               "}" + 
               "}"; 
 
                Page.ClientScript.RegisterStartupScript(this.GetType(), "InsertEmoticon", script, true); 

dan
Top achievements
Rank 1
 answered on 19 Feb 2009
15 answers
290 views
Prior to the release of 2008Q2, I used a CSS class to position controls on my page whose appearance was managed using FormDecorator.

At its simplest I might have something like this...
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="TestBed.WebForm1" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" > 
  <head runat="server"
    <title>Untitled Page</title> 
  </head> 
  <body> 
    <form id="form1" runat="server"
      <telerik:RadScriptManager ID="ScriptManager" runat="server"
      </telerik:RadScriptManager>       
      <telerik:RadFormDecorator ID="FormDecorator" runat="server" Skin="Hay" DecoratedControls="All" /> 
      <asp:Button ID="btnSearch" runat="server" Text="Search" /> 
    </form> 
  </body> 
</html> 
 
 
with this in the code behind...
    protected override void OnInit(EventArgs e) { 
      base.OnInit(e); 
      btnSearch.CssClass = "myClass"
    } 
"myClass" might set margins, padding, etc to finely adjust the button on the page.

Since implementing Q2 I can't do this as assigning anything to the CssClass property of my control stops FormDecorator from doing anything with it.

Try it yourself, comment out the assignment to the CssClass property and run the page; you'll have a green button with white text (bog standard 'Hay' skin fare). Recompile the page with the assignment to the button's CssClass and you'll get a standard windows button. This is a major step backwards.

--
Stuart




Tervel
Telerik team
 answered on 19 Feb 2009
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?