Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
230 views
Hi,

I just finished watching the demo of new HierarchyID Data-Type in SQL-Server-2008, and the first thing that occurred to me (after I got up off the floor and back on my seat) was the possibility of using this for storing menus in the database, to get higher performance loading.

Has Telerik looked at this option for possible future variants of loading a menu from a database query ??

FYI:: http://channel9.msdn.com/showpost.aspx?postid=387069  @ 11:25
Jason
Top achievements
Rank 2
 answered on 20 Dec 2008
2 answers
181 views
Hi:

I have a RadCombox (ajax) and a RadWindow on a page. The RadWindow allows me to change some database records. When the RadWindow closes, I use AJaxManager to trigger a callback on the combo box.

$find(

"<%= RAJforForm.ClientID %>").ajaxRequest("Rebind_RcbL01");

 


I know the callback is triggered because I've debugged the code and RaisePostBackEventis is triggered as it should.

Now within RaisePostBackEvent event, I basically reload the combobox (RcbL01) right from the database.  From debugging, I can see that the RadComboBox successfully bind to the datatable and RcbL01.Items(1).Text in fact was showing me the NEW field information under debug. 

However, on the screen, the items inside the combo box do not update. They are still the OLD value (even though the server-side debug clearly shows the new values are bind to the combo box).

Any help to resolve this issue is appreciated!

Justin


Aspx:

 

<telerik:RadComboBox ID="RcbL01"

 

 

Skin="WebBlue"

 

 

Width="400px"

 

 

Height="250px"

 

 

Font-Size="8pt"

 

 

DropDownWidth="620px"

 

 

AppendDataBoundItems="true"

 

 

AllowCustomText="false" EnableLoadOnDemand="true"

 

 

OnItemDataBound="RcbL01_ItemDataBound"

 

 

OnItemsRequested="RcbL01_ItemsRequested"

 

 

ItemRequestTimeout="500"

 

 

runat="server">

 

</

 

telerik:RadComboBox>

 


 

<telerik:RadAjaxManager ID="RAJforForm"

 

 

ClientEvents-OnRequestStart="TestAJaxConditionAtStart"

 

 

runat="server">

 

 

<AjaxSettings>

 

 

 

 

<telerik:AjaxSetting AjaxControlID="RcbL01">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="RcbLFYr" />

 

 

<telerik:AjaxUpdatedControl ControlID="RcbL01" />

 

 

<telerik:AjaxUpdatedControl ControlID="RdG02" LoadingPanelID="ALP01" />

 

 

<telerik:AjaxUpdatedControl ControlID="RdG03" />

 

 

<telerik:AjaxUpdatedControl ControlID="LblMsg" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

</AjaxSettings>

 

 

</telerik:RadAjaxManager>

 



JustinWong
Top achievements
Rank 1
 answered on 20 Dec 2008
5 answers
185 views
Hi,

I have a RadGrid which is bound to a LinqDataSource. In the where parameter of the datasource I have a ControlParameter which references a RadComboBox. With this setup the content of the grid changes when the selection of the combo box changes. So far so good. The problem is, that on page load the combobox is bound to its datasource and displays its contents but the grid does not. The grid is updated when I firs change the selection of the combo box.
How can I fill the grid proprtly on page load?

Best regards,
Robert
Simon
Telerik team
 answered on 20 Dec 2008
1 answer
51 views
Hi
 Is it possible to remove the calendar pop up from the scheduler (from top left corner of the header) ? . I need to know how to do that.
Peter
Telerik team
 answered on 20 Dec 2008
4 answers
118 views
Hi Telerik team,

I could need some help on this. I have a RadGrid with detail tables. When an item in the mastertable is clicked, some controls are updated via the Ajaxmanager. But if an item in the detail table is clicked (and also when the detail table is expanding) the controls are updated too. But I don't want that, I only want the controls to be updated when a mastertable item is selected on a row click. How can I do this?
I read and tried several things in your documentation but so far I'm getting nowhere.

Thanks!

Geert

Daniel
Telerik team
 answered on 20 Dec 2008
1 answer
98 views
I am facing a strange problem in rad grids. Whenever I type something in filter textbox and filter, it works fine. However if  I type something else after first filter, the same set of data is returned, unless I click no filter.  However i know this is not the case in your demos site.  I do not know if it is my mistake. However if you can advice how to track it down, then that would be very helpful.

Thanks in advance.
Iana Tsolova
Telerik team
 answered on 20 Dec 2008
3 answers
192 views
Hello all,

I'd like some advice please - what is the most straightforward way to make adjustments to the Editor's Node Inspector? We wish to remove the options to adjust HTML attributes.

For example, when an image is selected we would like to remove the Width, Height, Alignment, Border Color and Border Width option, but retain Set Image Properties, Tooltip, and Classname. Is there an easy way to "turn off" the undesired options, or do we have to create a custom module with just the features we desire?

Many thanks,
Mathew.
Rumen
Telerik team
 answered on 20 Dec 2008
1 answer
285 views
I have matched this almost exactly,  2 issues is my ID or primary ID I need to find the record is PAR_PARTID (not visible in the grid) and the field to attach the popup is R1_PartNumber (unique id).

my code other than using the PAR_PartID instead is exactly the same as yours, but I get the following error.

Unable to cast object of type 'System.Data.Common.DataRecordInternal' totype 'System.Data.DataRowView'.

Description:An unhandled exception occurred during the execution of the current webrequest. Please review the stack trace for more information about the error andwhere it originated in the code.

Exception Details:System.InvalidCastException: Unable to cast object of type'System.Data.Common.DataRecordInternal' to type'System.Data.DataRowView'.

Source Error:

Line 452:                if (!object.Equals(this.RadToolTipManager1, null))Line 453:                { Line 454:                    DataRowView currentRow = (DataRowView)e.Item.DataItem;Line 455:                    this.RadToolTipManager1.TargetControls.Add(target.ClientID, currentRow.Row["Par_PartID"].ToString(), true);Line 456:                }
            
            
Any help is appreciated
            
andy
Daniel
Telerik team
 answered on 20 Dec 2008
1 answer
146 views
I read in a thread from back in September that you could only access a single column that has its Aggregate property set to 'Custom'. I've been looking at the properties of the GridCustomAggregateEventArgs object that's passed into my CustomAggregate event handler and notice that there's an ItemIndex property, however it doesn't seem to change from the value -1. What's the suggested method for accessing the index (or, preferably, UniqueName) of the column for which the CustomAggregate event is firing?
Georgi Krustev
Telerik team
 answered on 20 Dec 2008
1 answer
99 views

Hello,

I want to utilize the Rad grid control on a web page which is heavily used for the data entry work. The way the user wants the grid to work is that they want to add all the records and then click a "Save All" button which will insert all the newly added data to the SQL server database. By doing so they want to prevent the post back / Ajax request to the server for every new record that is added and thereby save the data entry time.

Also, the number of new records to be added is not fixed, so when the user clicks on the tab key on the last cell of the new record a new row should get created and it should happen on the client side without hitting the server.

Is it possible to do this using Rad grid control? I have seen a demo where tool tip is used to achieve similar functionality but the users are not very confortable with that design approach. They want to do the data entry directly on the datagrid.

Please advice.

Regards,
Rajiv

Iana Tsolova
Telerik team
 answered on 20 Dec 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?