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

I think I may be trying to do something that cannot work... can someone tell me how to do it if not?

I have a grid with a price column where the value displayed can be in £, $ or Euro depending
on the value of a cookie.

The visitor can change the display currency cookie in a RadWindow, and I want this change to be effective
when the window is closed.

Currently I have javascript to do a complete page refresh, but it would be much smoother to
only have to refresh the grid. How can this be done?  Is there an event that can retrieve the new cookie value?
Or does the whole page have to be reloaded to get the the new cookie value?

Thanks lot!

Clive
Veli
Telerik team
 answered on 03 Sep 2009
3 answers
134 views
Hello, I have a toolbar that I'm dynamically adding templates with controls (textboxes, radcombobox, etc.) to via server-side code when the page is first loaded.  The intention is to have the user fill in those controls, then click a 'Run' button on the same toolbar. My problem is that in the postback for the Run button the values for the dynamically-added controls aren't persisting.  I could easily re-setup the controls again, but how do I capture the values the user entered?

I suspect I'd have to do something with the client-side trackChanges() and commitChanges() functions, but am not sure how to make use of those in this scenario.  Most examples I've seen involve a single javascript function that wraps these around some toolbar changes that the function itself does, and I'm not sure how to use these to persist values that the user has entered into dynamically added templates.

Any help would be greatly appreciated!

-Eddie
Peter
Telerik team
 answered on 03 Sep 2009
0 answers
79 views
Hi there,

I have used right now Asp.net ajax treeview contrl....

I need to add one label in ajax control but that I have done...

Now i need to use findcontrol to find that label text on handledrop event...

So, any one can help me out.
its very urgent...

Thanks in advance.
Dhaval Shah
Top achievements
Rank 1
 asked on 03 Sep 2009
3 answers
97 views
I have an Ajax manager and a RadComboBox on a page. When the selected value of the Combobox changes the Ajax manager fires and works as it is supposed to. So far so good. But in case the Ajax manager fires for the same value of the Combobox consecutively in a row the code behind function doesn't trigger but still the GUI changes occur but with wrong values. I cant figure out the cause. Any help will be great. I am using version 2009.2.701.35.
Vlad
Telerik team
 answered on 03 Sep 2009
5 answers
210 views
Hi,

I've run across a problem when populating a Panel bar using a List as the datasource. The problem occurs when I try to set the DataTextField property of the PanelBar to the property of a child object which resides in my List. Here is a code sample (btw, I am creating the List from a Linq query, but I don't think that should matter):

                <telerik:RadPanelBar ID="MenuPanelBar" Skin="WebBlue" Runat="server"> 
                </telerik:RadPanelBar> 

LayoutFrameworkDataContext dc = new LayoutFrameworkDataContext();

MenuPanelBar.DataSource = 
             (from mi in dc.MenuItems 
             from mid in dc.MenuItemDisplayNames 
             where mi.DisplayNameID == mid.DisplayID 
             select mi).ToList(); 
 
MenuPanelBar.DataTextField = "MenuItemDisplayName.DisplayName"; 
MenuPanelBar.DataBind(); 

When I call DataBind() I receive this error: "Object of type Menu.MenuItem does not have a MenuItemDisplayName.DisplayName property."

When I look at the PanelBar DataSource in the debugger I can see that I do indeed have my array of MenuItem objects, and within each MenuItem object there is a MenuItemDisplayName object with a DisplayName property.

It's seems what I'm trying to do is pretty straight forward and when I try this with a RadGrid the code works fine and I do not receive any errors.

Does anyone have an idea of what I may be doing wrong?

Thanks, -Scott


Atanas Korchev
Telerik team
 answered on 03 Sep 2009
1 answer
125 views
hi,

My grid has several combo box like below

 <ItemTemplate>
                                    
                                         <telerik:RadComboBox runat="server"
                                             ID="RadComboBox2"
                                             DataTextField="DocOwnAppComment"
                                             DataValueField="DocOACID"
                                             HighlightTemplatedItems="true"
                                             Height="190px"
                                             Width="220px"
                                             DropDownWidth="420px"
                                                DataSourceID="ContactsDataSource"
                                                SelectedValue='<%#Bind("IDCcomID") %>'></telerik:RadComboBox>                                       
                                        </ItemTemplate>                                       
                                        </telerik:GridTemplateColumn>


I using inline mode to edit record. When i click edit i want see same combo boxes in my edit mode. How can i take that?

krds
lakmal



SamJ
Top achievements
Rank 1
 answered on 03 Sep 2009
2 answers
288 views
I have a page with RadAjaxManager on it and 2 RadAjaxPanels.  The first RadAjaxpanel contains 5 dropdowns and is located on the left side of the web page.  The main portion of the page has the other RadAjaxPanel, and it contains 4 different asp:panels.  2 of these panels contain images, the 3rd contains a radio button list and a button, all .NET controls.  The 4th panel contains a asp:repeater control.
On the initial page load the first dropdown in RadAjaxPanel1 contains a list of years, and the image in asp:panel #1 is visible.  Each dropdown will invoke AJAX and change the dropdowns and possibly the asp:panel that is shown in the RadAjaxPanel2.  When a user selects a year from dropdown1, this causes dropdown2 to load vehicle makes and the image in asp:panel #1 visible.  Next a user would select a vehicle make from dropdown2, this would cause dropdown3 to load vehicle models and the image in asp:panel #2 to be visible.  A user would then select a vehicle model from dropdown3 which causes dropdown4 to show the available parts for the vehicle that has been selected.  This would also get all the parts associated with the vehicle selected and bind this list to the repeater in asp:panel #4.  The selectedindex changed event for dropdown4 will do all this and then set the appropriate panel's state to visible=true.
The problem is that the asp:panel #1 with the image is still shown instead of the asp:panel #4 that contains the asp:repeater control.
Any thoughts on why this would happen?

I have tried this with the .NET AJAX scriptmanager, updatepanel, etc. and it each panel in the main portion of the page is displayed when the code instructs it to be displayed.
SamJ
Top achievements
Rank 1
 answered on 03 Sep 2009
1 answer
383 views
Hi, I'm trying to get the RadAjaxLoadingPanel to make it appear as if the entire page is loading, instead of several instances of the loading image appearing where the updated control is. I just want one for the entire page. Can someone help me with this?

Thanks.
SamJ
Top achievements
Rank 1
 answered on 03 Sep 2009
3 answers
122 views
Dear sir,

Can we give image on dock's title bar?

reply me ASAP please...

thanks with regards
Golu
Top achievements
Rank 1
 answered on 03 Sep 2009
3 answers
126 views
Hi.

I want to display all appointments for particularday in month view. For example if I have ten appointments on  a particularday of a month. Currently in the month view I would be able to seeonly two or three appointments and not all ten. I would like to see all the tenappointments in the month view instead of being redirected to day view.


Thanks
Sabarish
sabarishbabu
Top achievements
Rank 1
 answered on 03 Sep 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?