Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
175 views
Hi,

I am using "RadCompression" to reduce size viewstate and session.
In test and dev machine the article work fine. 

But I am getting following error in our live server we are not using any web farm.
"System.ArgumentException: SessionPageStatePersister can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive."

When I use HiddenFieldPageStateCompression it doesn't compress much.

Any solutions?



Best Regards,
Damodar
Damodar
Top achievements
Rank 1
 answered on 09 Nov 2012
1 answer
164 views
hello to telerik team.

how can i have a RadNumerikTextbox or RadTextBox as a Label.
for example i have a clear style (simple style) RadNumerikTextbox or RadTextBox. like a simple label.

tanks.
bye.
Shinu
Top achievements
Rank 2
 answered on 09 Nov 2012
3 answers
425 views
I have a radgrid that uses a popup edit form. I want to get a reference to a checkbox that is on this edit form using javascript. How can I do this?
Shinu
Top achievements
Rank 2
 answered on 09 Nov 2012
1 answer
206 views
Hi, 

I would like to add a custom menu to the appointment context menu, that will only be available on weekview and monthview.
That menu should switch the scheduler to the dayview.

Ive been able to implement the extra menu item but i dont know how to tell the scheduler, from inside the AppointmentContextMenuItemClicked event to switch views and update.

Any ideas?
Princy
Top achievements
Rank 2
 answered on 09 Nov 2012
6 answers
103 views
I'd like to be able to consume some scheduler appointments using JSON. Do you have any good example of a web service project that can use the JSONP Dataservices to serve up Appointments? I'm really struggling with this on my own.

Thanks!
Andrew
Top achievements
Rank 1
 answered on 09 Nov 2012
0 answers
98 views

Steve
Top achievements
Rank 1
 asked on 08 Nov 2012
4 answers
60 views
I have a tree list where drag/drop is enabled. To do this I set AllowItemsDragDrop to true and added this line
 <ClientEvents OnItemDropping="itemDropping" OnTreeListCreated="function(sender) { treelist1 = sender; }" />

Method itemDropping verifies if the item being dragged is allowed and if the location where the item is being dropped is allowed. If not, an alert appears and the method returns. If all is ok I use fireCommand to initiate a server side method.

Since my treelist is ajax enabled the server side method was not triggered. To resolve this I added a ClientEvents-OnRequestStart method to the RadAjaxManager control to determine if the event target is my treelist control. If it is then I have set_enableAjax(false);  The problem with this is that the treelist doesn't refresh after the drop (and my RegisterClientScriptBlock doesn't execute). The odd thing is that if I replace the set_enableAjax(false) in my ClientEvents-OnRequestStart method with an alert('any text will do') then the server side method executes.

Any thoughts?

Thanks.
Robin
Top achievements
Rank 1
 answered on 08 Nov 2012
1 answer
79 views
We are using RadTextBox and specifying the text box widths, but in IE 7 Standards Mode the input widths are not enforced, resulting in very small input boxes (approx. 30px wide). How can this be fixed?

Below is one example:

<telerik:RadTextBox Width=""300px"" produces this HTML: 

<span class=""riSingle RadInput RadInput_Vista"" id=""tbTestGroupName_wrapper"" style=""width: 300px;"">

<input name=""rdCreateNewTestGroup$C$tbTestGroupName"" tabIndex=""301"" class=""riTextBox riEnabled rfdDecorated"" id=""tbTestGroupName"" style=""width: 100%;"" type=""text"" size=""20"" _events=""[object Object]"" control=""[object Object]"" RadInputValidationValue=""""/>                                       


Note the span tag has a style with width 300px. The span wraps an input tag with a width of 100% and a size of 20...   We assume the width 100% means the input width will stretch to fit the 300px wide span tag. This works in IE 8 Standards Mode but not in IE 7 Standards Mode. Not sure why the size="20" is in there but it doesn't seem to have an effect.

Since the input's width 100% is specified as an in-line style, it can't be overridden from the css file even when using !important.  #tbTestGroupName [style] {width:300px !important;} in the css file for overriding the in-line style is supported in IE 8, but not IE 7.

Also, we are using the transitional doctype (see below). Should this doctype be different?

<!-- DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" -->


Any help would be much appreciated as we're on a tight deadline. =(

Angel Petrov
Telerik team
 answered on 08 Nov 2012
4 answers
485 views
I have a fairly simple application I'm currently roughing out.

I have a screen with a RadGrid.  This is bound by a query to a Linq data source.  (Not the control, a direct call to the context using a Linq query.)   I've defined a FormTemplate popup with a bound RadComboBox on it.  The RadComboBox is bound in the ItemCreatedEvent.

Basically everything is working perfectly except that the combo box will not drop down when I click on it.  If it has the focus I can change the setting by using the arrow keys and when I save, the changes are properly saved.  It just won't drop down. 

(Actually this is only true in IE and FireFox.  When it comes up in Chrome, it displays the correct value but then if I click on it and try to use the arrows, it goes blank.)

I probably should mention that when I replace the RadComboBoxes with ordinary Asp.Net dropdown lists, everything works fine.
Boris
Top achievements
Rank 1
 answered on 08 Nov 2012
1 answer
35 views
I inserted file ".flv" flowing :
<object width="150" height="150" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<param value="/Upload/News/Video/08092012232957.flv" name="Movie">
<param value="false" name="play">
<param value="high" name="quality">
<param value="false" name="loop">
<param value="false" name="menu">
<embed width="150" height="150" menu="false" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" src="/Upload/News/Video/08092012232957.flv">
</object>


But  when I run it in browse it do not play.??
Dobromir
Telerik team
 answered on 08 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?