or
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not Page.IsPostBack Then btnStoreCustom.Attributes.Add("onclick", String.Format("realPostBack('{0}', ''); return false;", btnStoreCustom.UniqueID)) End If End SubProtected Sub btnStoreCustom_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnStoreCustom.Click ' save all custom made values in Session Variables for future use Session("MP1A") = CInt(rntbPM1A.Value) Session("MP1B") = CInt(rntbPM1B.Value) Session("MP2A") = CInt(rntbPM2A.Value) Session("MP2B") = CInt(rntbPM2B.Value) Session("MP3A") = CInt(rntbPM3A.Value) Session("MP3B") = CInt(rntbPM3B.Value) Session("MP4A") = CInt(rntbPM4A.Value) Session("MP4B") = CInt(rntbPM4B.Value) Session("MP5A") = CInt(rntbPM5A.Value) Session("MP5B") = CInt(rntbPM5B.Value) Session("MP6A") = CInt(rntbPM6A.Value) Session("MP6B") = CInt(rntbPM6B.Value) Session("MP7A") = CInt(rntbPM7A.Value) Session("MP7B") = CInt(rntbPM7B.Value) Session("MP8A") = CInt(rntbPM8A.Value) Session("MP8B") = CInt(rntbPM8B.Value) Session("MP9A") = CInt(rntbPM9A.Value) Session("MP9B") = CInt(rntbPM9B.Value) Session("MP10A") = CInt(rntbPM10A.Value) Session("MP10B") = CInt(rntbPM10B.Value) Session("MP11A") = CInt(rntbPM11A.Value) Session("MP11B") = CInt(rntbPM11B.Value) Session("MP12A") = CInt(rntbPM12A.Value) Session("MP12B") = CInt(rntbPM12B.Value) Session("MP13A") = CInt(rntbPM13A.Value) Session("MP13B") = CInt(rntbPM13B.Value) Session("MP14A") = CInt(rntbPM14A.Value) Session("MP14B") = CInt(rntbPM14B.Value) Session("MP15A") = CInt(rntbPM15A.Value) Session("MP15B") = CInt(rntbPM15B.Value) Session("MP16A") = CInt(rntbPM16A.Value) Session("MP16B") = CInt(rntbPM16B.Value) Session("MP17A") = CInt(rntbPM17A.Value) Session("MP17B") = CInt(rntbPM17B.Value) Session("Weight") = CInt(rntbGewicht.Value) Session("Height") = CInt(rntbGroesse.Value) End SubProtected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not Page.IsPostBack Then ' btnStoreCustom.Attributes.Add("onclick", String.Format("realPostBack('{0}', ''); return false;", btnStoreCustom.UniqueID)) End If End Sub<asp:Button ID="btnStoreCustom" runat="server" Text="Diese Daten zwischenspeichern!" PostBackUrl="~/overlay.aspx" ValidationGroup="AllPoint" CommandName="Submit" CausesValidation="True" />Hello,
I am using RadEditor in sharepoint and facing one issue.
I just want to restrict my editor's font name and size (say Arial,2) ,for that i made changes in ListToolsFile.Xml,
in following sections
<fontNames>
<item name="Arial" />
</fontNames>
<fontSizes>
<size value="2" />
</fontSizes>
Now the problem is that i am still getting default option(Times New Roman,3).(See Attached file)
Note-
I am using Lite Edition of RadEditor,also using it in SharePoint List.
Regards,
Sham@

Message: Unable to cast object of type 'System.Int32' to type 'System.Collections.Generic.Dictionary`2[System.String,System.Object]'. Source: Telerik.Web.UI Form: ctl00_ctl00_RadScriptManager1_HiddenField=&__EVENTTARGET=&__EVENTARGUMENT=&__LASTFOCUS=&__VIEWSTATE=% etc etc
QueryString: Ref=gaw
Target site: Boolean LoadPostData(System.String, System.Collections.Specialized.NameValueCollection)