Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
61 views
Here is my problem. I have a page that layout like follows:

<combobox>
</combobox>
<RadAjaxPanel>
<usercontrol>
<updatePanel>
<asp:Literal>
</asp:Literal>
</updatepanel>
</usercontrol>
</RadAjaxPanel>

the literal control will show some text when selection in combobox changed. But everytime when I change a selection in combobox, the user control just dissapeared. Can someone help me out here?  Thanks a lot
Shinu
Top achievements
Rank 2
 answered on 04 Aug 2009
1 answer
129 views
I have a grid that I am databinding to an in memory object. When i add a record I enter the new record details and press insert, the backend event seems to be getting fired but all the values of the columns are null.

 <telerik:RadGrid ID="RadGrid1" GridLines="None" runat="server"
             AllowAutomaticUpdates="True" AllowPaging="True"
            AutoGenerateColumns="False" OnItemCommand="RadGrid1_ItemInsert" OnInsertCommand="RadGrid1_ItemInsert" OnItemUpdated="RadGrid1_Itemupdate" OnEditCommand="RadGrid1_ItemUpdated"
            OnDeleteCommand="RadGrid1_ItemDeleted" OnItemInserted="RadGrid1_ItemInserted" OnDataBound="RadGrid1_DataBound" AutoGenerateEditColumn="True">
                <MasterTableView CommandItemDisplay="Bottom" AllowAutomaticInserts="True" DataKeyNames="ID">                    
                    <Columns>       
                        <telerik:GridBoundColumn DataField="ID" HeaderText="ID" SortExpression="ID"
                            UniqueName="ID">
                        </telerik:GridBoundColumn>                       
                        <telerik:GridBoundColumn DataField="Name" HeaderText="Name" SortExpression="Name"
                            UniqueName="Name">
                        </telerik:GridBoundColumn>                       
                        <telerik:GridBoundColumn DataField="DisplayName" HeaderText="DisplayName" SortExpression="DisplayName"
                            UniqueName="DisplayName">
                        </telerik:GridBoundColumn>
                        <telerik:GridButtonColumn CommandName="Delete" Text="Delete" UniqueName= "DeleteColumn" />
                    </Columns>                     
                </MasterTableView>
            </telerik:RadGrid>            

Code behind:
protected void RadGrid1_ItemInsert(object source, Telerik.Web.UI.GridCommandEventArgs e)
        {
            if (e.CommandName == RadGrid.InitInsertCommandName) //"Add new" button clicked
            {
                RadGrid1.DataSource = SessionHelper.XMLLayoutKey.layoutField;
                RadGrid1.DataBind();
            }
            else if (e.CommandName == RadGrid.PerformInsertCommandName)  
            {
                GridEditFormInsertItem editedItem = (GridEditFormInsertItem)e.Item;
                string strCategoryName = editedItem["Name"].Text;  
            }
        }

The column named "Name" is found yet it's value is always empty even though it has a value.

Any ideas?
masterK
Top achievements
Rank 1
 answered on 04 Aug 2009
1 answer
118 views
Hello,
I am trying to create a textbox that has a discrete set of possible values.  I've kind of got it working with a textbox/treeview combo where the treeview is updated via AJAX callback when the text is changed.  However, the AJAX callback is just not going to be happening fast enough in our production environment for this to be practical.

Is there a control that Tekerik has that can do this type of functionality?  Alternatively, is there a way I can show/hide nodes in a radTreeView via javascript so I don't have to postback to the server at all?  I can't just delete the node from the treeview because I may have to show it again later if the user changes what's in the textbox.

thanks!
Sebastian
Telerik team
 answered on 04 Aug 2009
1 answer
170 views
Hi ,

In my application, I am using two user controls. both are in a separate Ajax Panel. When I click on a tree node of a treeview in usercontrol1(Left). It should display a report in a right side user control. But report viewer is not showing any report. Here I am using RadAjaxManager also which will update right panel control if any change happen in left control.
If I remove Ajax Panel from both control, Its working fine...
Report viewer processmode is Server.

I want to implement AJAX over there. but facing a problem.

Please help us to resolve it...................
Sebastian
Telerik team
 answered on 04 Aug 2009
8 answers
384 views
Hi,

Iam trying to build a Hierachy Grid with multiple levels in it.
The DetailsTable levels will not be fixed.

Assume like the first row might have 2 levels
Second row might have 3 levels .

For that we just created the mastertableview declaratively and created the child levels by getting the MAX levels for a given product.. Assume like we have a product table where the maximum level is 5 we created 5 level detail table dynamically.

We use the NeedDatasource and the DetailTableBind.

The only problem we have is wehn we go throught he levels by expanding the last level which doesn't have data is aslo having the PLUS sign to be expanded..Only when we expand that we come to know like it has no data..


Is there a way like we can dynamically read the the number of levels of detail tables and remove it .

Assume we have a query that would give us the number of kevels for each mastertable data product..so when i click on the product to expand i would connect to databse and get the no of levels for that product and based on that i need to remove the extra detial tables which we created.

Assume we created 5 levels initially .I click to expnad a product and at that time i identify the level by connecting to database and assume its 3.
Now I should be able to remove those additonal 2 levels so that the last level doesn't have a plus sign..

Thanks
Bala
Sebastian
Telerik team
 answered on 04 Aug 2009
2 answers
108 views
I have an editable grid.
I would like the row being updated to be selected after saving or cancelling the update, but I can't seem to figure out how to do it. Should the itemCommand handle this?
Tsvetoslav
Telerik team
 answered on 04 Aug 2009
1 answer
129 views
We have a requirement to display different activities on a single horizontal row/bar. The activities can occur multiple times during a day and have a start and end time, e.g.:

     <---activity 1 ---><---activity 2---><------------activity 3-------------><activity 1><---activity 3--->
10:00                   11:00                 12:00                                      14:30          15:00                 16:00

Is there a chart type suitable for this (the Microsoft ASP.NET chart control has a 'range bar chart' which can be adapted to this), and are there any examples.

Thanks for any help.

Chris


Velin
Telerik team
 answered on 04 Aug 2009
1 answer
134 views
How can I determine if I am running the current patchlevel of Telerik for the version that I licensed? (that is to say, not necessarily the most current version of Telerik, but rather, the most current patch applicable to the version I'm using)?

Specifically, we use Telerik.Web.UI.DLL version 2008.3.1314.35. (Telerik Radcontrols for asp.net ajax 2008)
Lidiya
Telerik team
 answered on 04 Aug 2009
2 answers
120 views
Hi,

Is RowClick/RowDblClick is supported on GridCheckBoxColumn type of columns?

Thanks
virendra 
Daniel
Telerik team
 answered on 04 Aug 2009
0 answers
80 views
I created a custom skin for a combo box.  Everything works fine except for one thing.  When you click anywhere in the input box, the list drops down, but when you click on the image on the right, the list will not drop down.

I must have changed something in the css that is causing this, but cannot figure out what it is.

Any help would be appreciated.

Tim Sledge
Tim Sledge
Top achievements
Rank 1
 asked on 04 Aug 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?