Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
279 views
Hi There,


I m using Radgrid "Prometheus", I want to bind dropdownlist on fly and i m refering this link 

http://www.telerik.com/help/radcontrols/prometheus/?grdCustomizeConfigureGridDropDownColumn.html

According to above link i m trying to add values in dropdownlist box but

ex: 
 GridDropDownListColumnEditor editor = (GridDropDownListColumnEditor)(editMan.GetColumnEditor( "DropDownColumn"));
 DropDownList ddList = editor.DropDownListControl;

i m not able to find editor.
Dropdownlistcontrol, it says there is no dropdownlistcontrol.

Any one knows how to convert GridDropDownListColumnEditor  to dropdownlist box and add values ...

thanks
HHH
Top achievements
Rank 1
 answered on 14 Apr 2008
1 answer
143 views
My grid has a check box column, once I select all my items I click a button.

On the button click I want to "copy" only the selected rows into a second grid.  I do not want to commit anything to a database yet as the second grid acts as a summary, so they may go back and select more rows in the first grid.

Can someone help me on my way here?

Brett
Maria Ilieva
Telerik team
 answered on 14 Apr 2008
3 answers
93 views
I asked this over in the tooltip forum but couldn't get any response.

I'm having trouble getting tool tips to display on my ajaxified GridView after changing pages.

My GridView is wired up using a RadAjaxManagerProxy to update itself when the page is changed or a sort occurs.

The first page works fine and if I switch back to it it still works.

All the pages work when I remove the grid from RadAjaxManager and do a full postback. So I conclude my problem has something to do with the fact that the grid view is wired up to use AJAX for page changes,sorts,etc.

Do you guys have a tooltip example that does pagination using ajax with tooltips on multiple pages?

This seems like it would be a pretty common scenario. Do you know if it's possible to get it working? If so, do I need to use a different implementation?

Thanks,
Joe
Svetlina Anati
Telerik team
 answered on 14 Apr 2008
4 answers
155 views
I'm having trouble getting tool tips to display on my ajaxified grid view after changing pages.

My grid view is wired up using a RadAjaxManagerProxy to update itself when the page is changed.

The first page works fine and if I switch back to it it still works.

All the pages work when I remove the grid from RadAjaxManager and do a full postback. So I conclude my problem has something to do with the fact that the grid view is wired up to use AJAX for page changes,sorts,etc.

Do you guys have a tooltip example that does pagination using ajax with tooltips on multiple pages?


Svetlina Anati
Telerik team
 answered on 14 Apr 2008
2 answers
167 views
Hi,

I have a page with a RadNumericTextBox with NumberFormat-DecimalDigits=2.

Suppose I have the value "1.95". In display mode, it shows 1.95 which is correct. When I focus and go into edit mode, I get 1.95. That's also correct.

But if I have a value of "1.00", it doesn't display the .00 in edit mode. It only displays 1. Is there a way to get it to display all the decimal places, even if they are zeros? It looks and feels very odd to the user since it displays 1.00 but changes to 1 when editing. Thanks!
Mark DeMichele
Top achievements
Rank 1
 answered on 14 Apr 2008
1 answer
267 views

I have the following scenerio.

I am using a RadTreeView and on server-side I add root and one child node (folder), expand the root node and set folder node ExpandMoe=ServerSideCallBack.
On client, the user expands the folder node, the NodeExpand event fires and is handled on server and a call to DB gets the one child node and it loads properly and show properly on client.

At this point everything is fine. So the state is Root node expanded, folder node
expanded showing one child item node. I also have a context menu hooked up to the tree and when the user right-clicks the folder node and chooses the 'New' option, an area to the right of the tree opens to allow for data entry.
 The 'Create' button in this area is then clicked causing a postback, data is persisted to DB and code then runs to reload the nodes for the 'selectednode' (the one they right-clicked on in the client). The code that runs is the SAME CODE THAT RUNS WHEN THE USER EXPANDS THE FOLDER NODE.

Now the problem. The client does not reflect the fact that the child nodes of the
folder node (which is currently expanded and showing the original one node) were reloaded/refreshed from DB on server-side. If I F5 the page and drill back down Root -> Folder, the new node shows as expected.

How do you programatically tell the tree... "hey, the selected node, which has already been expanded on-demand, has just had a new node added, now show it".

I am sure this has to do with the asynchronous behavior based on ExpandMode=ServerSideCallBack, but no matter what I try on the server side, the client never shows new child nodes of an ALREADY EXPANDED node. Keep in mind, if the node (folder node that is) had NOT been expanded and I right-click, add New, THEN I expend the folder node, the new data/node shows up fine.

Any and all help is greatly appreciated.

Simon
Telerik team
 answered on 14 Apr 2008
1 answer
71 views
How do I add a link in the messsage?
Peter
Telerik team
 answered on 14 Apr 2008
1 answer
172 views
Hello!

I have a RadGrid with two GridTemplateColumns. Each Column has a RadComboBox in the EditItemTemplate.
The Comboboxes have the Property "EnableLoadOnDemand" set to true and i use the "ItemsRequested" Event to populate them.

Now (if i am in InsertMode) i would like to read out the "SelectedValue" of the first Combobox in the "ItemsRequested" Event of the second (should be filled in order to whats selected in the first).

I am trying to access the "SelectedValue" with the following code:
############
(RadGrid1.MasterTableView.GetInsertItem().FindControl("cmbGrouping") as RadComboBox).SelectedValue;
############

The problem is that in the "ItemsRequested" Event of the second ComboBox this code returns an empty string but in the "RadGrid1_InsertCommand" Event it returns the correct ID.

Can anyone tell my what iam doing wrong or how to access the values of controls in different GridTemplateColumns??

thx in advance
Markus
Markus
Top achievements
Rank 2
 answered on 14 Apr 2008
0 answers
1.0K+ views
RadAjax for ASP.NET AJAX is the successor of RadAjax for ASP.NET. The next generation of RadControls is built entirely on top of ASP.NET AJAX, utilizing its common client-side framework and programming model. RadControls for ASP.NET AJAX introduce a number of new features and performance optimizations, which are hard or impossible to implement in the regular ASP.NET suite. The integration and API models of the controls are also better, due to the common framework they share (RadControls for ASP.NET AJAX are shipped as a single assembly - Telerik.Web.UI.dll.) It is important to note that this new generation of RadControls will work only on ASP.NET 2.0 and 3.5 because of the underlying ASP.NET AJAX framework.

Although there are a lot of new features in RadAjax for ASP.NET AJAX some of the functionality from the “classic” ASP.NET version is still the same.  The forum threads in the RadAjax for ASP.NET forum are still relevant if they are in the following areas:
  •  DesignTime work with the control - AjaxSettings are still defined in the same user friendly way, through two treeviews (one for initiating controls and one for updated controls).
  • Server-side event AjaxRequest is still handled in the same way and requires you to have the AjaxManager/AjaxPanel set as initiator.
  • defining AjaxSettings programatically - still uses the same syntax.
  • Updating the <head> tag, so that styled controls can properly register their stylesheets (EnablePageHeadUpdate=true)
  • The ResponseScripts collection is still at your disposal for triggering custom actions after ajax request.
  • The queuing mechanism is implemented as well. Only difference here is that it is triggered by a property (RequestQueueSize) and not by a method (SetMaxRequestQueueSize())
If you upgrade your projects from RadAjax for ASP.NET to RadAjax for ASP.NET AJAX we encourage you to refer to this online help article, which highlights the most important steps in the migration process.

We hope this is helpful. If you need any assistance in the upgrade process or you have any other questions, please contact us.

Best Regards,
Telerik Team
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 14 Apr 2008
1 answer
97 views
Just a quick questions?


I am using the following grid for the user to select an article from a list.  
Currently the "hovered" row is changing color based on the skin.  What  is the class name for the "Hovered" grid item so I can change the color and the cursor.  If you could provide an example I would appreciate it. 

  <telerik:RadGrid ID="RadGrid1" runat="server"  Skin="Web20" GridLines="None"
                                                                        ShowHeader="False" AutoGenerateColumns="False"
                                                                        onselectedindexchanged="RadGrid1_SelectedIndexChanged">
                                        <ExportSettings>
                                            <Pdf FontType="Subset" PaperSize="Letter" />
                                            <Excel Format="Html" />
                                            <Csv ColumnDelimiter="Comma" RowDelimiter="NewLine" />
                                        </ExportSettings>
                                        <MasterTableView DataKeyNames="monthyear">
                                            <RowIndicatorColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType"
                                                Visible="False">
                                                <HeaderStyle Width="20px" />
                                            </RowIndicatorColumn>
                                            <ExpandCollapseColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType"
                                                Resizable="False" Visible="False">
                                                <HeaderStyle Width="20px" />
                                            </ExpandCollapseColumn>
                                                                            <Columns>
                                                                                <telerik:GridTemplateColumn >
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="LinkButton1" runat="server" 
                                                                                            Text='<%#   (DataBinder.Eval(Container.DataItem,"article1title")).ToString() %>'
                                                                                            Width="50" >
                                                                                        </asp:Label>
                                                                                    </ItemTemplate>
                                                                                      <ItemStyle HorizontalAlign="Center"  Width=200 Height=75/>
                                                                                </telerik:GridTemplateColumn>
                                                                            </Columns>
                                                                            <EditFormSettings>
                                                                                <EditColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType">
                                                                                </EditColumn>
                                                                            </EditFormSettings>
                                                                        </MasterTableView>
                                                                        <ClientSettings EnablePostBackOnRowClick="True" EnableRowHoverStyle="True">
                                                                            <Selecting AllowRowSelect="True" />
                                                                        </ClientSettings>
                                                                    </telerik:RadGrid>
Sebastian
Telerik team
 answered on 14 Apr 2008
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?