Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
144 views

I am trying to figure out how to reload the parent page of my application from inside of a RadWindow without the RadWIndow closing or reloading. In my application, users have the ability to open up a pop-up window that will list all of their current customers. When they click on the customer's name, the parent window is suppose to load up that particular customer's information.

Here is the code that I have to reload the parent page:

 

 

 

 

function RefreshParentPage(Url) {

 

 

GetRadWindow().BrowserWindow.location = Url;

 

}

The Url passed in the Url for the customer summary page.  This serve as a starting point for drilling down into more detail on a customer.

Right when I run the application, the pop-up appears correctly. When the user clicks on the customer's name, the parent page navigates to the summary page correctly, but the pop-up window closes. I am trying to get the summary page to stay visible until the user actually closes it.

How can I do that?

Thanks,
David

Shinu
Top achievements
Rank 2
 answered on 01 Mar 2011
2 answers
166 views
Hi
I am trying to disable a button whenever a node is clicked.from the client side.

The Treeview has PostBack disable in it.

Also I notice that the Alerts inside the javascript functions are not firing up.

The code is a ascx file which is called from a aspx page. The Treeview sits in a RadAjaxPanel.

I make use of the following code with no success:

 

 

 

 

<script type="text/javascript">
            function AssignEventHandler() {
                alert("inside Assign");
                var tree = $find("<%= rdTreeVwHIOptions.ClientID %>");
                tree.add_nodeClicked(ClientNodeClicked);
            }
  
            function ClientNodeClicked(sender, args) {
  
                alert("Node clicked!");
                var btn = $find("<%= btnSave.ClientID %>");
                btn.disabled = true;
                                  
            }             
  
        </script>

 

Pls help me find a solution for this.

Thanks,
Amirtha

 

 

 

 

Amirtha S
Top achievements
Rank 1
 answered on 01 Mar 2011
1 answer
128 views
I cannot find example of how to do this.  I need this to persist no matter what date was selected, even months in advance.

Please help! Please let me know.
Shinu
Top achievements
Rank 2
 answered on 01 Mar 2011
2 answers
628 views
Hi,

I am having a problem getting a RadGrid column as a String so that I can use the data in my application.
I have tried using
Dim cell As TableCell = RadGrid1.MasterTableView("ColumnUniqueName")
then cell.text()
however I cannot seem to get the reference to my Grid.my grid is named RadGrid1 and it is located in RadMultiPage1 and RadPageview1
I have also tried finding reference to my Grid via find Control then trying to get the table cell that way but I am getting an error saying
it cannot be indexed because it has no default property.

Any help would be greatly appreciated

Thank you.
Orest
Top achievements
Rank 1
 answered on 01 Mar 2011
1 answer
102 views
I'm loading my combo box with around 4,000 items and am noticing a significant difference in performance between the old Q22007 version of the rad.combobox and the Q32010 ajax version.  Here's what my old Q22007 version looks like:

<radcb:radcombobox id="EntityList2" 
                        runat="server"
                        Skin="WindowsXP"
                        MarkFirstMatch="true"  
                        AllowCustomText="true"
                        DataSourceid="MyDataSource"
                        DataTextField="MyTextField"
                        DataValueField="MyValueField"
                        Height="400px" Width="400px" 
                        AutoPostBack="True" EnableViewState="false"></radcb:radcombobox>

Here's what I'm using for my new Q32010 combo box:

<telerik:RadComboBox  id="EntityList" 
                        runat="server"
                        MarkFirstMatch="true"  
                        AllowCustomText="true"
                        DataTextField="MyTextField"
                        DataValueField="MyValueField"
                        DataSourceID="MyDataSource"
                        Height="400px" Width="400px" EnableVirtualScrolling="true"  
                        AutoPostBack="True" EnableViewState="false"  >
                        </telerik:RadComboBox >

The old control loads the list almost instantly, but the new one takes 10 seconds!!!  How can acheive the lightening fast performance I enjoyed in the old control?  I don't want to have to use LoadOnDemand, unless it will display all items in the list.  If I can't, I'm just going to keep using the old one which is sad really. 

Travis
Top achievements
Rank 1
 answered on 01 Mar 2011
1 answer
125 views
Hi,

I have an asp .net web application with the extensive usage of RADGrid. Ours is a financial website and we are using grids to show all financial information. As part of our enhancement, we have been asked to export the records in the grid to quicken format (.qif). Is this supported by Telerik? If not, what can be done to achieve this with the presence of telerik grid?

Regards,
Kishan G K
Daniel
Telerik team
 answered on 28 Feb 2011
3 answers
175 views

Hi,

I am exporting RadGrid Data to PDF. In that I required to insert lines horizontally and vertically. And have to make some text bold etc.

I Need help on this issues.

Can you please give me some samples?

Thanks & Regards
Kannan
Daniel
Telerik team
 answered on 28 Feb 2011
4 answers
146 views

Hi, I'd like to know if there is a a method to get the total working time of the day, which is the beginning of the first appointment to the end of the last appointment of the day (including possible pauses between them as work time)

On Day view, i found it easy to get this with client-side scripting, looping though scheduler.appointments, and then inserting it as dom node in the header

However, i can't find how to do this in the week view.

My client do not want to use Month and TimeLine view now but, if possible, I'd like to know how to do this for them too

Thank you very much in advance.

Regards,

Andre

André
Top achievements
Rank 1
 answered on 28 Feb 2011
1 answer
173 views
I have a javascript component that is sitting inside a RadPane that can be resized using a RadSplitter.

The component needs to redraw at the appropriate size, when the splitter resizes the pane.

What I need to do is to connect a javascript function as an event handler to the splitter, or the pane, to handle resize events - in javascript.  Given the circumstances, I need to connect a dynamically-constructed function, I can't simply set the name of a function in the markup.

The examples I've seen always set attributes in the markup: OnClientResized="panelResized", where "panelResized" is the name of a function in the global namespace.  In my case, this won't work.

How do I set a javascript function object to be an event handler, with RadPane or RadSplitter?
Jeff
Top achievements
Rank 1
 answered on 28 Feb 2011
3 answers
1.4K+ views
Hi,

I have an application that has just been upgraded to the latest ASP.NET AJAX controls.  I noticed that the following code:

radComboUseStat.Items.Clear();
radComboUseStat.Enabled = false;

does not really disable the dropdown.  It looks disabled, but if you click on it, it still opens and, because it is empty, if you click again, it produces an error.

It is definitely not disabled because I tried commenting out the first line, and I not only see my items in the dropdown (when I click on it), I can even select one!

Thanks,
Olga
Kate
Telerik team
 answered on 28 Feb 2011
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?