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

I have a specific "master/detail" grid that should allow editing master and detail data at the same time. Grid displays "Order"-"OrderItem" data.
At master level only "Order" rows are displayed  
When master row is expanded "Order" data and "OrderItems" grid should be displayed in ItemTemplate in a way that grid with details is in the middle of item template and Order data are in "headder" and "footer".
The same data field position should be done also in edit Item template.

Sollutions I thought about are the following :
1) Using edit item template with nested RadGrid2 (In this case I have problems with RadGrid2 keys... I use composite keys and need to know RadGrid1 key to create RadGrid2 key )
2) Using Custom user control inside RadGrid1 that contains RadGrid2... The same problem with keys as 1)

The biggest problem is that there is no key on InitInsert since it is available only on PerformInsert when data is inserted in table row, so I tried to create a row on Initinsert and to read key (autoincrement) and set it to grid item , but was not succesfull with that.

What would be the best approach to solve this problem? Has anyone had a similar problem / how did you solve it?.. any sample code would be very wellcome.

Greetings, 
    Walter
Yavor
Telerik team
 answered on 13 Mar 2009
0 answers
212 views
Hey guys, Im just going through the RadCombo Box part 1 video, and I get this error when I try and run the first example.

[URL=http://img27.imageshack.us/my.php?image=errorkgb.jpg][IMG]http://img27.imageshack.us/img27/7007/errorkgb.th.jpg[/IMG][/URL]

Codie
Top achievements
Rank 1
 asked on 13 Mar 2009
2 answers
127 views
Hey guys, I have watched a couople of videos here and at asp.net, and when they make demos using a SQL database, they dont provide the actual SQL database so I can follow along or play around with myself.

Does anyone here have a SQL database they could up load for me, preferably data that has more than 6-7 catagories so I can have a go at sorting etc.

Thanks, Codie.
Veselin Vasilev
Telerik team
 answered on 13 Mar 2009
1 answer
63 views
Hi guys,

I was trying to calling a radwindow from flash, and yes I can do it but its a little tricky because I made it using the asynchronical calling of javascript from the radajaxmanager like you describe on your samples of using flash and .net interaction, but I was wondering if I can just call a javascript function directly from flash that affort that. Any Ideas or even better, samples? :)

Thank you in advance

KMILO.
Georgi Tunev
Telerik team
 answered on 13 Mar 2009
0 answers
74 views
This is the screen shot im getting. Notice there are two error boxes. Those come at different times. its random
it comes when i take my mouse over a link in the rotator...
if u want me to post the code let me know...


http://img11.imageshack.us/img11/9986/hnp2.jpg

the loaded use control get the ID and load data from the database

thanks in advance
Chamira
Top achievements
Rank 1
 asked on 13 Mar 2009
5 answers
293 views
Hi

In my RadGrid I have one row that I do not want to be edited, so I wrote the following code:

protected void RadGridWaCssSettingsEditor_ItemDataBound(object sender, GridItemEventArgs e) 
        {    
            if (e.Item is GridDataItem) 
            { 
                GridDataItem dataItem = (GridDataItem)e.Item; 
 
                // Do not allow the CSS property "theme" to be edited 
                if (dataItem["CssProperty"].Text == "theme"
                { 
                    dataItem["Edit"].Controls[0].Visible = false
                }                 
 
            }  
 
        } 

The problem I have is that the vertical gridline between the item column and the edit command column has disappeared as shown here

Any ideas?
Thanks.





Dimo
Telerik team
 answered on 13 Mar 2009
1 answer
151 views
After upgrading from RadControls Classic I noticed various changes to the way scripts are registered that will cause performance to be much worse for the latest version of RadControls compared to the Classic version.

Firstly, the EnableScriptCombine property of RadScriptManager suffers from a big weakness.
When we use this property, a WebResource is called with a querystring like so:

Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_AjaxManager_4_ScriptManager_HiddenField&compress=0&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-AU%3a0d787d5c-3903-4814-ad72-296cea810318%3aea597d4b%3ab25378d2

I notice that this includes the ID of the ScriptManager in the querystring. The problem is that if we move to a page which has a slightly different master page hierarchy, the ID of the ScriptManager changes and so does the url of the WebResource:

Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ctl00_AjaxManager_4_ScriptManager_HiddenField&compress=0&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-AU%3a0d787d5c-3903-4814-ad72-296cea810318%3aea597d4b%3ab25378d2

What does this mean for the end user? Well it means that they will not be able to retrieve the cached copy of the resource (even though I presume it is exactly the same), They have to redownload the entire resource, which could easily be 100k+ even after compression.

Because of this I think that it is better for me to set EnableCombineScripts to false. It is a pity that the page weight and number of HttpRequests has increased for the new version though. Here is an example of script sizes from my site's homepage:

Using RadAjax Classic
5 scripts : 13kb, 9kb, 5kb, and 4kb
Using RadAjax for ASP ,NET AJAX
9 scripts : 27kb, 17kb, 10kb, 9kb, 9kb, 9kb, 8kb, 8kb and 8kb respectively

Now I know that these scripts are not the only indicator of performance but an increase of 4 HttpRequests and 74kb seems excessive to me. I guess I was hoping for more.

Perhaps you can suggest a way around the issue with combining scripts?
Atanas Korchev
Telerik team
 answered on 13 Mar 2009
9 answers
474 views
Is there a way to maintain the scroll position of the rotator control thru a postback?

I have a rotator at the top of my master page and it scrolls thru some images and data. The start position is 0 initially so after a ppost back it always goes back and restarts from 0.

is there a way to maintain which item is being scrolled thru a postback?

ManniAT
Top achievements
Rank 2
 answered on 13 Mar 2009
11 answers
533 views
It is our pleasure to announce the Q1 2009 BETA release!
The key highlights for the Beta Release are:
  • New RadFileExplorer control - Ready-to-use file explorer control with high performance and rich customization options. Consists of TreeView, Grid, ToolBar, Upload, Address Bar. Multiple selection and drag and drop out of the box. See Demos
  • RadCompression - a new HttpModule that ships with the RadControls for ASP.NET AJAX designed to automatically compress your AJAX and Web Service responses
  • Facelift for Default and Vista skins which result in breaking changes for certain scenarios. Please, test before upgrading to the new version.
  • New .NET 3.5 demos
  • New WebMail Sample Application with included source code
  • RadScheduler: New client-side APIs and databinding to Webservices. See Demo
  • RadGrid: New pager styles and and filter templates

Please note that Default2006 and Gray skins are discontinued -- we are recommending the new Default skin for anyone that might have used the obsolete skins.

Download the Beta from your accounts
(See attached screenshot)

Full Release Notes

Online Demos

We are looking forward to your feedback,
Best Regards,
Telerik Team
Missing User
 answered on 13 Mar 2009
1 answer
206 views
What i'm really wanting is to be able to control when that WebResource script gets loaded, because I need to do some processing with some other jQuery plugins, they control the layout, so they need to be loaded and run prior to all telerik control scripts. 

Ideally, is there a way to just load the jQuery resource first, then load a second WebResource by that has the rest of set of scripts in script combined format?  

Alternatively, I could take care of loading jQuery 1.3, and I'll be responsible for setting $telerik.$  = jQuery.noConflict(true);

Atanas Korchev
Telerik team
 answered on 13 Mar 2009
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?