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

I'm presently working on a application that use a radGrid with a Web User Control, so I used this demo to help me. I also want, in my Web User Control, to have a button that will make appears a window that will return a value that will fill a field (tbField) inside the Web User Control (like in this demo). So I tried it out, but I wasn't able to realise my scenario. Here is the problem : the javaScript code for calling the window and get back the value is write in the page that containt the radGrid. I'm able to get the value from the window, but I don't know how to set it to the field in the Web User Control (tbField). Here is my code in js function : 

// Function that is called from the window to "get back" the value and fill the field tbField
function test(args) {
    RadAjaxManager1.ajaxRequest(args);
}

So, how do I access the field in the Web User Control from code-behind. Guess it should be something like
"row that is edited".FindControl("tbField") as TextBox

 but I don't know how to get the edited row.
David
Top achievements
Rank 1
 answered on 19 Aug 2011
1 answer
190 views
I have a RadPanelBar bound to a datasource.  In the ItemTemplate I have checkboxlist bound to another datasource.  The select parameter for the datasource for the checkboxlist is the RadPanelItem's value.

This is probably very straight forward and would appreciate some help in accomplishing this.

Thanks
Sumith
Kate
Telerik team
 answered on 19 Aug 2011
1 answer
188 views
Hi,

We encounter a performance issue in IE 8 with RadComboBox for more than 2000 listitems
The performance degrades a lot and gives an error "Stop running this script? A script on this page causing IE to run slowly..."

My Radcombobox has below settings and bind dataset to this combo in page load event.

<

 

telerik:RadComboBox ID="ddlEmployee" runat="server" Width="190px" Height="100px"

 

 

EmptyMessage="Select employee " EnableLoadOnDemand="True" EnableVirtualScrolling="true"

 

 

OnItemsRequested="RadComboBox1_ItemsRequested" DataTextField="Name" DataValueField="EmpNo"

 

 

Skin="WindowsXP" OffsetX="2" AllowCustomText="True" EnableEmbeddedSkins="False"

 

 

EnableAjaxSkinRendering="False" EnableEmbeddedBaseStylesheet="False"

 

 

EnableItemCaching="True" ShowMoreResultsBox="True">

 

 

</telerik:RadComboBox>

Can someone help me how to improve the performance? 

Any suggestions would be appreciated.

Thanks & Regards,

Kiran 

Shinu
Top achievements
Rank 2
 answered on 19 Aug 2011
5 answers
244 views
I have been trying to get rid of the strange section under the titlebar without any luck.  Please see my attachment.  Someone did post a similar issue and the solution was within the css.   The following was the link I followed.

http://www.telerik.com/community/forums/aspnet-ajax/window/radwindow-with-transparent-title-bar.aspx


I didn't know exactly what was used for the gif file ( probably just a solid thick line).  I added the css lines (with the exception of the section that he was told to eliminate), but I still have that strange line there.  Could anyone offer any suggestions on how to get rid of this?  If the gif file is needed, could you tell me what the gif should look like.

Thanks,
Amy
Marin Bratanov
Telerik team
 answered on 19 Aug 2011
3 answers
95 views
RadWindow in screen are missing the window top bar with the close/maximize buttons.
The buttons are there as we can click by guessing their location - they are simply rendered as invisible

This occurs intermittently (on the same page) only for IE6 users.  We have tried removing any custom CSS, and getting spaces out of the header but did not fix the issue. Have you come across this before or found a solution?

Assembly used: 2011 Q1 315.40

similar issue:  http://www.telerik.com/community/forums/preview-thread/aspnet/window/missing-close-button.aspx

Please Help

Regards
Marin Bratanov
Telerik team
 answered on 19 Aug 2011
1 answer
107 views
All of a sudden I am seeing this error in my visual studio designer .Please see attched image for error.
Chavdar Dimitrov
Telerik team
 answered on 19 Aug 2011
1 answer
96 views
We recently upgraded our Telerik.Web.UI.DLL and OpenAccess ORM to the latest versions and found that our ViewState for each page jumped significantly - example from 8KB to 200KB. This was across the board on almost all our pages.

After much digging around we found that this was being caused by the StoreOriginalValuesInViewState property of the OpenAccessDataSource object, which defaults to true if not set. I could not find anything in the forums or the Support site about this issue, so I thought this might help somebody else that runs into this. Setting this value to false for each data source allowed our viewstate to go back to normal.
Ivailo
Telerik team
 answered on 19 Aug 2011
1 answer
96 views
I have a radscheduler bound to a sqldatasource.  I would like to get access to the data as it is being read into the radscheduler from the sqldatasource.  What I would like to do is change a 'field' value for one of the fields.  I've been searching all over the place for this but have not found any code to do so.

Thanks in advance.
Richard
Top achievements
Rank 1
 answered on 19 Aug 2011
4 answers
133 views
Please see the attached screenshots.

The first is of a form shown in a popup RadWindow. The application is using the Black skin. Note that the background colour of the form is the correct colour for the Black skin. This happens automagically; I didn't make it happen. The second shows the RadSpell dialog opened. Note the background colour.

Looking at the generated HTML, it seems that my RadWindow form applies the class .rfdZone to the <html> element (I have a RadFormDecorator on the page, is that why?) whereas the RadSpell dialog doesn't.

It looks a bit pants.

Is it possible to change it?

--
Stuart
Marin Bratanov
Telerik team
 answered on 19 Aug 2011
1 answer
225 views
I've searched through support and these forums, and while I've found several answers to this question, none of them specifically suit my needs.

I'm storing all my DateTime data in UTC format in my SQL 2005 database.  What I'd like is extend the RadDatePicker (and RadDateTimePicker) so that when they display a date from the DB, they automatically shift it to the loca timezone.  Then when they write any date to the DB, they shift it back to UTC.

I was thinking of creating an extension class that inherits the RadDateTimePicker and overriding the DataBind() method within it.  I'm not quite sure how to accomplish this though.  It'd be easy enough to shift the displayed date when it's read from the database, but I can't figure out how I would shift the date written back to the DB.

I've also seen places on these forums talking about AJAX and Javascript, and how the control will provide the UTC-shifted date using some of those methods.

Most of my RadPickers are databound objects on the EditTemplates of RadGrids.  They are tied to LinqDataSources and not populated in the codebehind, so manipulating the times through codebehind would take a lot of reengineering. 

Any suggestions on how I could create an extension class or manipulate the data on the client side, so that I am always looking at local time but always working with UTC in the database?
Johny
Top achievements
Rank 1
 answered on 19 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?