Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
42 views
My web server went down yesterday, had to make a new one... same programs, Visual Studio 2008, the latest Telerik release, etc.
Locally everything on the web site is working fine - but when I publish the site, none of my telerik controls are expanding or collapsing... from dropdownlists to the radMenus.  I'm about to have a heart attack, anyone have any clue what I should do?
Kate
Telerik team
 answered on 15 Sep 2011
5 answers
110 views
i m displaying a grid in an .aspx page.
the problem is wen i try to delete a record for the first time from the grid, it doesnt ask for confirmation(the record is deleted without confirmation).
after a postback the delete functionality works fine with the confirmation box.
Jayesh Goyani
Top achievements
Rank 2
 answered on 15 Sep 2011
2 answers
58 views
Hi, i have a popup which uses RadEditor, it works everywhere else perfectly, but when this popup is opened in Google chrome, the scroll doesn't work at all. I have latest version of chrome and the latest DLL of telerik controls as well.

looking forward for a quick response!
Thank You.
Pankaj
Top achievements
Rank 1
 answered on 15 Sep 2011
1 answer
89 views
hi, in the code behind I call a Confirm box in javascript(client-side), with a button that says Yes an other that says No. If the user clicks NO, the method CancelNodeEdited() is called. So I pass the old description as the argument. The problem is that if the user edit the node and enter a new description, then the Confirm box is showed. If the user clicks No, the new description is showed and the old description is not taken. How can I fix this problem ?

if ((dtProjects.Rows.Count > 0) && (checkClientAdminRole()))
                                    {
                                        // set old value to cancel action
                                        e.Node.Attributes["OldNodeDescription"] = e.Node.Attributes["NodeDescription"];

                                        // create warning message
                                        sMessage = "Are you sure you want to edit the Taxanomy? The Tax Return Line is used within your Client by:\\n" + sOtherProjectName;
                                        sMessage = sMessage.Replace("\\", "\\\\").Replace("'", "\\'").Replace("\"", "\\\"");

                                        // register script for user confirmation
                                        sScript = @"var resultado = confirm('" + sMessage + "'); if (!resultado) CancelNodeEdited('" + e.Node.Attributes["OldNodeDescription"] + "');";
                                        ClientScript.RegisterStartupScript(typeof(Page), "jsEditNode", sScript, true);
                                       
                                        // set new value
                                        e.Node.Text = e.Node.Attributes["TaxonomyNotation"] + " " + nodeText;

and in the aspx;

function CancelNodeEdited(oldValue) {   
            tree = document.getElementById('<%=trTaxonomy.ClientID%>');           
            var node = tree.FindNodeByAttribute("NodeDescription", oldValue);                       
            nodetext = node.get_attributes().getAttribute("OldNodeDescription");           
            node.get_attributes().setAttribute("NodeDescription", nodetext);
            node.set_text(node.get_attributes().getAttribute("TaxonomyNotation") + " " + nodetext);
            node.get_attributes().setAttribute("OldNodeDescription", null);
    }
Dimitar Terziev
Telerik team
 answered on 15 Sep 2011
6 answers
298 views
Dear Telerik team,

My support has just expired. While my office renews it, I have a question. I want to access radnumerictextboxes which are inside RadGrid while adding a new record on client side. I want to multiply values of two radnumerictextboxes and display the result in third.

 

 

function SetTotalCost2(sender, args)  
{   
var grid = $find('<%=gridBudget.ClientID %>');    
var MasterTable = grid.get_masterTableView();    
var Rows = MasterTable.get_dataItems();  
 
var textbox1 = Rows[1].findControl("txtCostPerUnit"); //which row no. to use to get add new row reference  
var textbox2 = Rows[1].findControl("txtNoOfUnit");   
var textbox3 = Rows[1].findControl("txtTotalCost");   
textbox3.set_value(textbox1.get_value() * textbox2.get_value());  


Could you please help. I don't know how to access row while adding a new record on client side.

Many thanks,
Sana Khurram

 

Jayesh Goyani
Top achievements
Rank 2
 answered on 15 Sep 2011
1 answer
83 views
Is there any way I can open a rad window with JS that would show the contents of a html coded JS string, instead of directing it to a URL?
Kevin
Top achievements
Rank 2
 answered on 15 Sep 2011
5 answers
145 views
hi,

I was trying to clear a radcombobox's selected value and text inside a radgrid using RadCombo.ClearSelection() and it failed. please let me know of any simple way to clear the RadCombo on the clientside.

Thanks,
Minh Bui
Kalina
Telerik team
 answered on 15 Sep 2011
3 answers
86 views
Hi,

I am using telerik radgrid. The problem is when i scroll to the extreme right of the grid white space appears at the end. I have frozen columns in my grid. If I remove the frozen columns, the problem seems to be resolved but i can't do away with frozen columns since i need them.

Please suggest a solution.

Raghav
Princy
Top achievements
Rank 2
 answered on 15 Sep 2011
1 answer
46 views
Hi,

I am trying to refresh a grid as in the online demo on this site:

http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=grid

the only difference is that i am using a radgrid that i create in the code-behind. I am experiencing lots of problems with the refreshing. the ajaxRequest is called, it reaches the function in the code-behind, but nothing happens on the screen. Much like the problems described in other threads.

My question is, do you have an example project where a programatically created grid is refreshed? i haven't come across one of those yet.

thanks. Willem
Jayesh Goyani
Top achievements
Rank 2
 answered on 15 Sep 2011
4 answers
152 views
Hello,

We have implemented the MegaMenu per the example found here:
http://demos.telerik.com/aspnet-ajax/menu/examples/megadropdown/defaultcs.aspx

At the top of our menu, the user can select from a list of agencies and agents.  I've attached a screen shot of how it looks in our scenario.

When they select a specific agency/agent, then click on a link specific to an agency/agent, we need that link to post back to the server to meet the following business requirements:
 - users must see the spinning AJAX notification when a redirect is occuring
 - all querystring data must be encrypted and not visible in the URL or in the markup

The closest I can get this to working is to set RadSiteMapNode.Value to the URL and RadSiteMapNode.NavigateUrl to javascript:NavTo() and having NavTo fire an AjaxRequest.

<telerik:RadSiteMapNode Value="{\"linkid\": \"230\"}" NavigateUrl="javascript:NavTo(this);"
    Text="Agency Info" />

function NavTo(sender) {
    // somehow find out the value from the RadSiteMapNode clicked to retrieve the link
    var linkId = '230';
    $find(window.ajaxManagerID).ajaxRequest('MenuNav:' + linkId);
}

Problem is that I passing "this" into the javascript method passes in a DOMWindow reference, not a reference to the link clicked.

Anyone have any suggestions on where I should go from here?

Thanks!!
Thad
Kalina
Telerik team
 answered on 15 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?