Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
92 views
Hi everybody,

i have a complex scenario webapge:
A MasterPage where the RadWindowManager is declared, a default webpage where content is loaded and the content pages.
I am working with RadAjaxPanels to ajaxifiy the whole thing. I have some trouble with changing the Windows-Collection of RadWindowmanager in codebehind of the contentpage (wrapped by an Radajaxpanel). The RadWindowManager (at masterPage, no radajaxpanel) is not updated after i add a window from codebehind/contentpage.

A similar Problem is described in the following article :
"RadWindow inside a RadAjaxPanel"

I understand that the problem is because there is no PostBack and the RadWindowManager is not inside the ajaxpanel
but all the hints and solutions are going for the RadAjaxManager and not for the panels.

Basically my question is: How to update RadWindowManager declared on masterpage from an contentpage wrapped by an RadAjaxpanel
 

Philipp
Top achievements
Rank 1
 answered on 21 Apr 2011
3 answers
160 views
I have a grid and I'm using the grid's FormTemplate to edit and insert records into the SQL database.
<EditFormSettings EditFormType="Template">
     <FormTemplate>
          .....
     </FormTemplate>
</EditFormSettings>

In this project that I'm working on I want to be able to select a record, take that data and populate the form WITHOUT adding the record first. Here is the button in the grid:
<telerik:GridButtonColumn 
     ButtonType="ImageButton" 
     CommandName="CopyPaste" 
     ConfirmDialogType="RadWindow" 
     ConfirmText="Copy information?" 
     ConfirmTitle="Copy" 
     ImageUrl="/Images/SmallRecycle.png"
     Text="Copy" 
     UniqueName="CopyColumn"/>

I can easily duplicate the record in the database, but the idea is that someone enters information and the next bit of information is the same with the exception of the person tied to the record. I don't want them to have to retype the information and I don't want to write a new record and have them edit it.

Does this make sense? I'm really stuck on expanding the grid's form and filling the fields.
Princy
Top achievements
Rank 2
 answered on 21 Apr 2011
2 answers
113 views
I am Binding Rad Grid.
And i am using Radcontext Menu.
Now i Want to retrive the ID of Selected Row.

How to do it. ?
Dhruval Dave
Top achievements
Rank 1
 answered on 21 Apr 2011
1 answer
91 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
42 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
374 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
348 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
119 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
259 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
147 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?