Telerik Forums
UI for ASP.NET AJAX Forum
11 answers
311 views
I am using the FrozencolumnsCount and it works fine unless I use the grouping function.   How can I get the column to stay frozen if I am grouping data?
LeBear
Top achievements
Rank 1
 answered on 25 Aug 2009
4 answers
202 views
Hi,

I am working on the RadGrid controls(Old one not the latest). In the old Rad Grid Controls, is it possible to implement the Row wise Drag and Drop option in the Grid. I have seen that in the New Telerik Rad Controls I am able to implement the drap and drop on row wise items. But I want to implement that on the old Rad Grid controls. 

My Situation, we are working on a enhancement project, In the form we have rad pageview  controls, radeditor, radgrid and other rad controls. what is happening is, when ever we replace the old radgrid with the latest telerik gird. it throws up an exception in javascript like : 'Javascript Registered Twice'. It looks like some where the old ajax javascript and new telerik javascript makes a conflict.

So I don't want to mess up with the existing souce code, since the application is already in production, I just want to replace the old Radgrid with New Telerik Rad Controls with Drag and drop functionality or is it possible to implement the Drag and drop option in old Rad Grid Controls. Either way is okay for us.

Please provide your suggestion how we can implement the Drag and drop for the row items.

Thanks,
Kamal
KG
Top achievements
Rank 1
 answered on 25 Aug 2009
3 answers
114 views
Hi, new customer. Has anyone displayed server side data in a tool tip when hovering over a specific image in a cell in a RadGrid?

Thanks in advance.

Steve
Schlurk
Top achievements
Rank 2
 answered on 25 Aug 2009
1 answer
110 views
I see a property that lets you show or hide node lines but is there a way to change the size or weight of the lines going from node to node?
Schlurk
Top achievements
Rank 2
 answered on 25 Aug 2009
2 answers
122 views
I have a user control that contains a rad grid that seems to be working great except after update.

In the user control, I register an javascript call on the updatecommand:

(Page.Master.FindControl("RadAjaxMasterManager1") as Telerik.Web.UI.RadAjaxManager).ResponseScripts.Add(statusScript);

The script calls a javascript function that does this:

        var ajaxMgr = $find("<%=RadAjaxManager.GetCurrent(Page).ClientID %>");
        ajaxMgr.ajaxRequest("ToDoRefreshAjax"); 

stepping through the code, the RaisePostBackEvent that I use to handle this runs correctly.  However when its all done running i get this javascript error:

Uncaught Sys.ArgumentNullException: Sys.ArgumentNullException: Value cannot be null.
Parameter name: id 
ScriptResource.axd:3098

and then all ajax calls stop working after this error

What is causing this error?
John
Top achievements
Rank 1
 answered on 25 Aug 2009
3 answers
177 views
Hi all,

I have a requirement that the insert / edit form be displayed below the grid. Is this possible?  By default, the grid edits according to the place it's found in the grid.  The inserting is also always on the top of the grid is it possible to move the inserting form to the bottom?

Please let me know if you need a clarification on what I've asked.

Thanks,
Josh
Josh
Top achievements
Rank 1
 answered on 25 Aug 2009
1 answer
132 views
I have a radMenu with an ItemTemplate in it.  Within that ItemTemplate, I have an asp textbox and  imagebutton comprising a search feature.  How can I get a server side event to fire when that imagebutton is clicked?  I can't seem to access it.  I understand how to access and change properties of controls within ItemTemplate.  But I cannot figure out how to get an event handler.  Here is my code.  Thanks for your help!

<telerik:RadMenu ID="trmNavSearch" runat="server" Skin="NavSearch" EnableEmbeddedSkins="false" 
        EnableEmbeddedBaseStylesheet="false"> 
        <Items> 
            <telerik:RadMenuItem runat="server" Width="164px"> 
                <ItemTemplate> 
                            <asp:TextBox ID="tbSearch" ValidationGroup="vgSearch" MaxLength="100" 
                                runat="server" CssClass="textbox"></asp:TextBox> 
                            <asp:ImageButton ValidationGroup="vgSearch" ID="btnSearch" runat="server" 
                                ImageUrl="~/global/images/green_arrow_submit.png" /> 
                </ItemTemplate> 
            </telerik:RadMenuItem> 
        </Items> 
    </telerik:RadMenu> 

This code behind obviously does not work as "btnSearch" is not recognized in the handler.
Protected Sub btnSearch_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSearch.Click 
        Dim myURL As String = "" 
        myURL = myURL & "Search.aspx?SearchTerm=" & trmNavSearch.FindItemByText("tbSearch").Text.Trim & "&I=" 
        Response.Redirect(myURL.ToString) 
    End Sub 



Brad H
Top achievements
Rank 2
 answered on 25 Aug 2009
2 answers
197 views
Hello All,

I have a RadToolBar with a RadDropDownList item on it. Within that RadDropDownList I have a button that is templated to have a checkbox, textbox and button. The idea is for the user to fill in the textbox, check the checkbox (if desired) and click the button for the server to do some activity. However, when the user clicks the checkbox, the entire dropdownlist closes. How can I stop this from happening. 

<telerik:RadToolBar ID="RadToolBarGridMenu" runat="server" Width="100%"  
            onbuttonclick="RadToolBarGridMenu_ButtonClick" OnClientButtonClicked="ToolbarClicked" Skin="Black" > 
            <Items> 
                 <telerik:RadToolBarDropDown Text="View"> 
                    <Buttons> 
                        <telerik:RadToolBarButton Text="All Projects" /> 
                        <telerik:RadToolBarButton IsSeparator="true" /> 
                        <telerik:RadToolBarButton CssClass="logo"> 
                            <ItemTemplate>                             
                                 <table id="NewView" width="275px" style="margin-left:25px"> 
                                    <tr><td>View Name:</td><td><asp:TextBox ID="TextBoxViewName" runat="server" Width="100px" /></td></tr> 
                                    <tr><td>Is Default View:</td><td><asp:CheckBox ID="CheckBoxViewDefault" runat="server" /></td></tr> 
                                    <tr><td colspan="2"><asp:Button ID="ButtonCreateView" runat="server" Text="Save Template As View" /></td></tr> 
                                 </table>                                                    
                            </ItemTemplate> 
                        </telerik:RadToolBarButton> 
                    </Buttons> 
                </telerik:RadToolBarDropDown> 
            </Items> 
        </telerik:RadToolBar> 

Thank you for your help
Chad
Top achievements
Rank 1
 answered on 25 Aug 2009
1 answer
86 views
Hello

I am having a bit of a problem.
I have recently changed my project so that the progress area and progress manager are now on my master page rather than on the upload content page.
The reason I did this was so I could use some styles to grey out the page when the progress area appears, and I couldn't do this from within my content page.

It all appears to be working fine on the upload page, but I am finding when I login or use the forgotten password functions (both asp membership defaults) I get a pop up box with "RadUpload Ajax callback error: source url returned invalid content".

Any ideas?

Thanks

Genady Sergeev
Telerik team
 answered on 25 Aug 2009
3 answers
2.0K+ views
Ok, I have a text box that the users can input an organization. Once they click search there is a method that loops through the tree to find any node that contains the value entered in the text box. There could be occurences where multiple nodes in the tree contain what the user enters, however, the search stops and the first one found from the top. I would like to add the functionality to enable the user to click search again and the next tree node that contains the search value would be selected, rather than the first node encountered that contains the value.

Here is the code I have to I currently use to accomplish the first part. The Search button's on_click event is SearchButton_Click. I'm using Q1 2009.

private void FindRecursive(RadTreeNode treeNode, string searchString, Boolean foundFirst)  
    {  
        Boolean found = foundFirst;  
        foreach (RadTreeNode tn in treeNode.Nodes)  
        {  
              
            if (tn.Text.ToUpper().Contains(searchString) && (!found))  
            {  
                found = true;  
                tn.Selected = true;  
                tn.Focus();  
            }  
            FindRecursive(tn, searchString.ToUpper(), found);  
        }  
    }  
 
 protected void SearchButton_Click(object sender, EventArgs e)  
    {  
        if (Org_Emp_Srch.Text.Trim() != "")  
            {  
                string SearchStr = Org_Emp_Srch.Text.ToUpper();  
                FindRecursive(radtreeview1.Nodes[0], SearchStr, false);  
            }  
        radtreeview1.ExpandAllNodes();  
    } 
Casey
Top achievements
Rank 1
 answered on 25 Aug 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?