Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
153 views
I have the Persister code working perfectly on a dev server.
GridSettingsPersister.vb located in the app_code directory.
I can get and save the session persisted value to an MSSQL database.
Click a "save" button to update a user database, load them into a session variable upon login and apply the session variable after page is loaded.
Everything works perfectly on dev server.

When I moved the code to production, the system hangs when I click the "save" button.
So, I then copied the grid persister values from the dev database to the production database.
Then when the value is retrieved and I try to apply it in the on page loaded code, I get a Security Exception error.

Any ideas what may be causing this?
Is this an "unmanaged" code error?


Security Exception

Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
   System.Runtime.Serialization.Formatters.Binary.ObjectReader.CheckSecurity(ParseRecord pr) +7547187
   System.Runtime.Serialization.Formatters.Binary.ObjectReader.ParseObject(ParseRecord pr) +223
   System.Runtime.Serialization.Formatters.Binary.ObjectReader.Parse(ParseRecord pr) +34
   System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record) +519
   System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryHeaderEnum binaryHeaderEnum) +61
   System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run() +253
   System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) +168
   System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage) +203
   System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream) +12
   System.Web.UI.ObjectStateFormatter.DeserializeValue(SerializerBinaryReader reader) +968
   System.Web.UI.ObjectStateFormatter.Deserialize(Stream inputStream) +135
Antonio Stoilkov
Telerik team
 answered on 12 Dec 2012
1 answer
84 views
HI,

I am binding radgrid in client side with allow paging is true and page size is 10. In grid i have one template column that contains radbutton.

Now, i is binded with 15 rows, first page works well, on second page it shows 5 rows that is correct but it also show another 5 rows buttons.

This is only in IE 7

Any suggestion?
Pavlina
Telerik team
 answered on 12 Dec 2012
2 answers
122 views
I'm in the process of stripping out update panels and replacing them with the RadAjaxManager control, I'm having difficulty getting the AutoCompleteExtender to fire though. Used to work fine till I took the update panel out. What's the correct procedure for this?

I've tried this RadAjaxManager setting but it doesn't work:-

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="ConsigneeTxt">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="ConsigneeTxt" />
                </UpdatedControls>
            </telerik:AjaxSetting>
         </AjaxSettings>
    </telerik:RadAjaxManager>

Here's the applicable html:-

<asp:TextBox ID="TestTxt" runat="server" AutoPostBack="true"></asp:TextBox>
<asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" TargetControlID="TestTxt" WatermarkText="Start typing..." runat="server" WatermarkCssClass="WaterMarked"></asp:TextBoxWatermarkExtender>
<asp:AutoCompleteExtender ID="AutoCompleteExtender1" CompletionInterval="250" runat="server" MinimumPrefixLength="2" ServiceMethod="GetName" ServicePath="~/WebService8.asmx"  TargetControlID="TestTxt" UseContextKey="true"></asp:AutoCompleteExtender>

Thanks!
Alex
Top achievements
Rank 1
 answered on 12 Dec 2012
1 answer
90 views
RadUpload provided an option to check .InvalidFiles.Count.  I assumed this worked in conjunction with the valid extensions.    Or does it not apply any longer since the "File Selection" dialog automatically includes only those with a valid extension.

When I click submit to post back the page, the .UploadedFiles.Count is 0.  

We use the "Upload" as a generic control throughout our application.   When an upload is complete, we pass data back to a calling such as file name, actual name, path, and content type.  


Peter Filipov
Telerik team
 answered on 12 Dec 2012
3 answers
62 views
Hi!

We use ie 10 windows 8 64 bit - in English and Hebrew ,
The DatePicker- dosn't work.

What to do?


Thanks
Galin
Telerik team
 answered on 12 Dec 2012
6 answers
146 views
If I have for example:
RadEditor1.ImageManager.ViewPaths = new string[] { "~/images" };
RadEditor1.ImageManager.UploadPaths = new string[] { "~/images/2011/06" };
RadEditor1.ImageManager.DeletePaths = new string[] { "~/images/2011/06" };
How do I make the image manager automatically default to the "~/images/2011/06" subfolder when it is opened? It seems to default to displaying the root ViewPaths folder every time, so the user has to each time drill down to the subfolder for every image to be uploaded or inserted.
There are many subfolders and I would like that when the image manager opens, it pre-selects the folder which the user can upload into.
Is that possible?
My scenario is that the users have read-only access to all images, but can only upload/delete in the current month, so it would be good to pre-select that month.
livemedia
Top achievements
Rank 2
 answered on 12 Dec 2012
2 answers
93 views
How can i do?
set stacked follow picture
and set value in bar aligh left and right
https://dl.dropbox.com/u/50999266/ForWebSiteTelerik/Static%20Stackbar.jpg
Watit
Top achievements
Rank 2
 answered on 12 Dec 2012
10 answers
270 views
Hello,

I am using rad editor on one of my page. I am adding RadEditor in a div which is sortable with jquery. Users can change the order of different divs on that page. 

My problem is that when user moves some div up or down the editor adds a <br> in the contents. I have no idea why it is happening, can anyone help me to avoid this behavior!!

Thanks
shadow
Top achievements
Rank 2
 answered on 12 Dec 2012
1 answer
155 views
Hello,

I know that you can set the orientation of a RadToolBar to Horizantal cq Vertical.
But is it also possible to do that within one RadToolBar? I want to align a couple of RadToolBarButtons Vertical and other RadToolBarButtons to Horizontal.

So you get something like this (on 1 RadToolBar):

RadToolBarButton1     RadToolBarButton4 RadToolBarButton5
RadToolBarButton2
RadToolBarButton3

Does somebody knows a way to do this ?

 

Shinu
Top achievements
Rank 2
 answered on 12 Dec 2012
3 answers
443 views
Hi,

We have been using the telerik dll of version 2011.3.1115.35 in a 32 bit environment for developing SharePoint webparts for Sharepoint 2007 site. We are migrating from MOSS 2007 to SharePoint 2010. So would like know if the same version of telerik dll can be used in the new 64 bit environment, if not, what is the telerik version that would be compatible? We are using Visual Studio 2010 professional edition 64 bit for development.

Thanks,
Jyothi
Rumen
Telerik team
 answered on 12 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?