Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
79 views
I searched the forum but couldn't find an answer. There is answer to get the COUNT of the filtered row but not the data. Could anyone help? I need to do some processing at the server on the filtered rows. Thanks a lot!
Princy
Top achievements
Rank 2
 answered on 21 Apr 2011
1 answer
35 views
Does there exist a source solution that shows by example the use of the RADGrid (AJAX) using a web service (preferably with the passing a parameter)?
Shinu
Top achievements
Rank 2
 answered on 21 Apr 2011
1 answer
347 views
I would like to know how I can check (via JavaScript) if a given combobox is enabled or not.  I see how to enable or disable it, but not how to check the status.
Shinu
Top achievements
Rank 2
 answered on 21 Apr 2011
1 answer
329 views
Hi,

I call a RadConfirm box from a JavaScript function like:

$get("<%=btnNoVr.ClientID%>").onclick = function()
                {
                    CallRadConfirm(stat, id,  'Can you Confirm?');
                };


function CallRadConfirm(status, ID, message)
    {  
        radconfirm(rmessage, confirmCallBackFn, 350, 10, '', 'Confirm');
        
        function confirmCallBackFn(arg)
        {
            if(arg == true)
            {
                $get("<%=hfIsNoVR.ClientID%>").value = "Y";
                if (status == "true")
                {
                    return true;
                }
                else
                {
                    window.location.href = '/_layouts/test/test.aspx?ID=' + ID + '&PageFrom=Select&Action=NO';
                    window.event.returnValue=false;
                }
            }
        }      
    }

here i get the Confirmation box but postback happens immediatelly before i chose ok or cancel.
How do i stop that?

Thanks,
Varun R
Shinu
Top achievements
Rank 2
 answered on 21 Apr 2011
2 answers
109 views
I am building a treeview control which has X number of root nodes (from a database), each of which contain two static nodes which themselves contain Y number of dynamic nodes. Something like this:

  • Root Node #1 (database-driven)
    • Child Node #1 (static)
      • Sub Node #1 (database)
      • Sub Node #2
    • Child Node #2 (static)
      • Sub Node #3 (database)
  • Root Node #2
    • Child Node #3 (static)
      • Sub Node #4 (database)

I have implemented loading on demand for items at the "Child Node" level so it would automatically pull the sub-items when that node is expanded (using ServerSideCallBack) which works great. I have also implemented a context menu for each "Child Node" entry that has an "Add Category" option which adds a new item (at the Sub Node level) so a new entry can be added. This entire process works great and is surprisingly versatile.

The only issue I have is when the new item is added I want all the "Sub Node" entries for the parent "Child Node" item to be re-bound so the items appear in alphabetical order. I tried using the set_expanded() methods but it seems once a node has been expanded the items are cached and there isn't a way to forcefully tell it to go get the items again. Basically I'm looking for a client-side method call that tells the "Child Node" entry that it needs to go get a fresh copy of items once the adding process is complete.

Any idea on how to make this happen?

digitall
Top achievements
Rank 1
 answered on 21 Apr 2011
8 answers
235 views
I am using a Rad AsyncUpload control and our customers do not like the Remove link that shows up in the list of upload files.  They want buttons instead.  Does anyone know how to transform these links to buttons that say remove.

Thanks,

GR Graham
james knight
Top achievements
Rank 1
 answered on 21 Apr 2011
2 answers
136 views
Hi,
I am using RadUpload control,I want to remove check box which appear in RadUpload control?
Can I do like that?


Thanks in Advance
james knight
Top achievements
Rank 1
 answered on 21 Apr 2011
5 answers
85 views
Hi all.

I have come across some very weird behaviour with the Rad Grid and a context menu.
It seems that the OnRowContextMenu event has some problems getting the correct row that was clicked ... the value retrieved from eventArgs.get_itemIndexHierarchical() method returns a different index depending on where in the row the mouse is clicked. If I click in the centre of the row, most of the time it is fine. But if I click near the top or bottom of the row, I get a different index returned (even though it is still the same row). This is slightly less of an issue in IE than in Firefox + Chrome.

Has anyone else encountered this? Is it a known issue? It is making the context menu very unreliable and impossible to use.

OnRowContextMenu handler:

function rowContextMenu(sender, eventArgs) {
    var menu = $find("<%= menuDrivers.ClientID %>");
    var evt = eventArgs.get_domEvent();
 
    if (evt.target.tagName == "INPUT" || evt.target.tagName == "A")
        return;
 
    // Get trip ID + type from source row
    var index = eventArgs.get_itemIndexHierarchical();
    var row = sender.Control.children[1].children[0].rows[parseInt(index)];
    var rowElements = row.getElementsByTagName("input");
 
    alert(sender);
    alert('Row index ' + index + ' clicked. Trip ID is ' + rowElements[0].value);
 
    // Store the trip ID and type in hidden fields
    $get("ContextTripID").value = rowElements[0].value;
    $get("ContextTripType").value = rowElements[1].value;
 
    // more code continues here ...
 
}
Ryan
Top achievements
Rank 1
 answered on 21 Apr 2011
2 answers
97 views
I have 3 panes within a splitter arranged as [ 1 | 2 | 3 ].

I have a RadGrid in 1 and 2. Selecting an item from the grid in 1 loads up child data in 2. Selecting a row from the grid in 2 displays information for the selected item in 3.

The issue I have encountered is that when there are many rows in 2 to the extent that a vertical scrollbar appears in 2, scrolling down and selecting a row in the radgrid in 2 causes the pane to scroll to the top, losing the user's reference to that selected row.

How can I prevent 2 from scrolling to the top when a grid row gets selected?

Richard
Richard Weeks
Top achievements
Rank 2
 answered on 21 Apr 2011
2 answers
116 views
I'm new to Telerik, is there a control that can be used as a progress bar?

For instance, when shopping online and going through the checkout process, there is usually a progress bar at the top of the screen that shows you how much more you have to do before you are done.

I need to do this for a survey.

Any suggestions?

Thank you,
shafferl
Daniel
Top achievements
Rank 1
 answered on 20 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?