Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
149 views
Hi
i am using the latest version of radeditor , but in web.config file i have the following error ,
"
Assembly 'Telerik.Web.UI, Version=2010.1.415.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' uses 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
would you please help me.

Thanks

My web.config file is
---------------------------------
<?xml version="1.0"?>
<configuration>
  <configSections>
    <sectionGroup name="Miron.web">
      <section name="CompressorSettings" type="Miron.Web.MbCompression.SettingsConfigSection" />
    </sectionGroup>
  </configSections>
  <appSettings>
    <add key="DBNAME" value="Data Source=pserver;Initial Catalog=Olom_Pezeshki;User ID=sa;Password=Qwe123" />
    <!--<add key="DBNAME" value="Data Source=server;Initial Catalog=tbzmed;User ID=sa;Password=Qwe1234"/>-->
    <add key="ExternalDBNAME" value="Data Source=192.168.1.1;Initial Catalog=Externalelib;User ID=sa;Password=1234" />
    <add key="SiteUrl" value="http://itshams.ir" />
    <add key="email" value="info@itshams.ir" />
    <add key="Hejri" value="-1" />
    <add key="SSlEmail" value="false" />
  </appSettings>
  <system.net>
    <mailSettings>
      <smtp>
        <network host="mail.itshams.ir" port="25" userName="site@itshams.ir" password="t@123_it" />
      </smtp>
    </mailSettings>
  </system.net>
  <system.web>
    <httpRuntime maxRequestLength="10240" executionTimeout="300" />
    <customErrors mode="On" defaultRedirect="Error.aspx?ErrorType=customErrors" />
    <compilation debug="true" urlLinePragmas="true">
      <assemblies>
        <!--<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
        <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>-->
      </assemblies>
    </compilation>
    <httpHandlers>
      <add verb="*" path="jslib.axd" type="Miron.Web.MbCompression.JavaScriptCompressionHandler" validate="true" />
      <add verb="*" path="css.axd" type="Miron.Web.MbCompression.CssCompressionHandler" validate="false" />
      <add verb="GET" path="CaptchaImage.aspx" type="WebControlCaptcha.CaptchaImageHandler, WebControlCaptcha" />
      <add verb="*" type="ComponentArt.Web.UI.UploadProgressHandler,ComponentArt.Web.UI" path="ComponentArtUploadProgress.axd" />
      <add verb="*" path="*js.axd" type="JavaScriptHandler" />
      <!--<remove verb="*" path="*.asmx" />
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />-->
      <add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
      <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
    </httpHandlers>
    <httpModules>
      <add type="ComponentArt.Web.UI.UploadModule,ComponentArt.Web.UI" name="ComponentArtUploadModule" />
      <add type="CompressWebResource" name="CompressWebResource" />
    </httpModules>
    <authentication mode="Windows" />
  </system.web>
  <Miron.web>
    <CompressorSettings reflectionAlloweded="false" optimizeHtml="true" daysInCahe="30" compressCSS="true" compressJavaScript="true" compressPage="false" compressWebResource="false" compressThirdParityScripts="false">
      <excludeTypes>
        <add key="image/gif" />
        <add key="image/jpeg" />
      </excludeTypes>
      <excludePaths>
        <!--<add key="~/DontCompressMe.aspx" />-->
      </excludePaths>
    </CompressorSettings>
  </Miron.web>
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
      <remove name="WebServiceHandlerFactory-Integrated" />
      <remove name="ScriptHandlerFactory" />
      <remove name="ScriptHandlerFactoryAppServices" />
      <remove name="ScriptResource" />
      <add name="JsHandler" verb="*" path="jslib.axd" type="Miron.Web.MbCompression.JavaScriptCompressionHandler, MbCompression" preCondition="integratedMode" />
      <add name="CssHandler" verb="*" path="css.axd" type="Miron.Web.MbCompression.CssCompressionHandler, MbCompression" preCondition="integratedMode" />
      <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
    </handlers>
   
  </system.webServer>
</configuration>
---------------------------------------------------

Neda
Top achievements
Rank 1
 answered on 03 Dec 2011
2 answers
76 views
In my application I am using Master-contain Page model. In this model some controls are in master and some controls are in content page.
I am using RadAjaxManager in both Master and content page to avoid complete page post back on control event. But is gives me an error. If there is any solution to mention AjaxUpdatedControlId on both master and content page so that i can avoid complete page postback.
Sarang
Top achievements
Rank 1
 answered on 03 Dec 2011
1 answer
164 views
I have a scenario where I have two RadSlidingPanes side by side.  In point of fact, they're nested in the sense that one is on the parent Web Content Form and the other is inside a User Control that is loaded into the form.

    <telerik:RadPane ID="radPaneLeft" runat="server" Scrolling="None" MaxWidth="200"><br>      <telerik:RadSlidingZone ID="radSlidingZone" runat="server" Width="22" Height="0" ClickToOpen="true" DockedPaneId="radSlidingPane"><br>        <telerik:RadSlidingPane ID="radSlidingPane" runat="server" BackColor="#F0F8FF" CssClass="slidingPane" TabView="TextAndImage" IconUrl="~/Images/hierarchy.gif" DockOnOpen="true"><br>          <telerik:RadListBox ID="radListBoxStopes" runat="server" Width="100%" Height="100%" AutoPostBack="true" OnItemCreated="radListBoxStopes_ItemCreated" OnSelectedIndexChanged="radListBoxStopes_SelectedIndexChanged"><br>            <ItemTemplate><br>              <asp:Panel runat="server"><br>                <asp:Label ID="labelStope" runat="server" Text='<%# Eval("Description") %>' CssClass="muckListPrimary" /><br /><br>                <asp:Label ID="labelUnits" runat="server" Text='<%# Eval("Units", "{0:0 units}") %>' CssClass="muckListSecondary" /><br>                <asp:HiddenField ID="hidFieldMaterial" runat="server" Value='<%# Eval("Material").ToString() %>' /><br>              </asp:Panel><br>            </ItemTemplate><br>          </telerik:RadListBox><br>        </telerik:RadSlidingPane><br>      </telerik:RadSlidingZone><br>    </telerik:RadPane><br>

Please take a look at the first screen capture.  That's the way everything appears when the left sliding pane is collapsed.  Note how the RadListBox displays with a nice width.  But when I expand the left sliding pane the width of the right sliding pane (and the listbox within it) are shrunk down in width.

I've tried several things but cannot figure out how to maintain a suitable width for the right sliding pane and its child listbox.

Any advice on what to do?

Robert



Robert
Top achievements
Rank 1
 answered on 03 Dec 2011
5 answers
238 views
Hi,

How to selected the first child tab when I click the parent tab?

For example (please refer to coding below),

When page load, the ParentTab1, ChildTab1 and pgView1 will be selected.
When I click the ParentTab1, the ChildTab1 and pgView1 will be selected.
When I click the ParentTab2, the ChildTabA and pgViewA will be selected.
When I click the ParentTab3, the pgViewTab will be selected.

              <telerik:RadTabStrip ID="rtsTab" runat="server" MultiPageID="rmpTab" ScrollChildren="true">  
                    <Tabs> 
                        <telerik:RadTab Text="ParentTab1" runat="server" Selected="true">  
                            <Tabs> 
                                <telerik:RadTab Text="ChildTab1" PageViewID="pgView1" Selected="true">  
                                </telerik:RadTab> 
                                <telerik:RadTab Text="ChildTab2" PageViewID="pgView2">  
                                </telerik:RadTab> 
                            </Tabs> 
                        </telerik:RadTab> 
                        <telerik:RadTab Text="ParentTab2" runat="server">  
                            <Tabs> 
                                <telerik:RadTab Text="ChildTabA" PageViewID="pgViewA">  
                                </telerik:RadTab> 
                                <telerik:RadTab Text="childTabB" PageViewID="pgViewB">  
                                </telerik:RadTab> 
                                <telerik:RadTab Text="childTabC" PageViewID="pgViewC">  
                                </telerik:RadTab> 
                            </Tabs> 
                        </telerik:RadTab> 
                        <telerik:RadTab Text="ParentTab3" runat="server" PageViewID="pgViewTab">  
                        </telerik:RadTab> 
                    </Tabs> 
                   </telerik:RadTabStrip> 
 
 
 
 
               <telerik:RadMultiPage ID="rmpTab" runat="server">  
                     
                       <telerik:RadPageView ID="pgView1" runat="server" Selected="true">  
                          ParentTab1, ChildTab1     
                       </telerik:RadPageView> 
 
               <telerik:RadPageView ID="pgView2" runat="server">  
                          ParentTab1, ChildTab2     
                       </telerik:RadPageView> 
          
               <telerik:RadPageView ID="pgViewA" runat="server">  
                          ParentTab2, ChildTabA     
                       </telerik:RadPageView> 
 
               <telerik:RadPageView ID="pgViewB" runat="server">  
                          ParentTab2, ChildTabB    
                       </telerik:RadPageView>             
 
               <telerik:RadPageView ID="pgViewC" runat="server">  
                          ParentTab2, ChildTabC    
                       </telerik:RadPageView> 
 
               <telerik:RadPageView ID="pgViewTab" runat="server">  
                          ParentTab3  
                       </telerik:RadPageView>                   
 
 
 
 
               <telerik:RadAjaxManager runat="server" ID="RadAjaxManager1">  
                 <AjaxSettings> 
                        <telerik:AjaxSetting AjaxControlID="rtsTab">  
                            <UpdatedControls> 
                                    <telerik:AjaxUpdatedControl ControlID="rtsTab" /> 
                                    <telerik:AjaxUpdatedControl ControlID="rmpTab" /> 
                            </UpdatedControls> 
                        </telerik:AjaxSetting> 
                </AjaxSettings> 
                   </telerik:RadAjaxManager>   


Anyone can help?

Thanks.

Regards,
Jessie
Dawson
Top achievements
Rank 1
 answered on 02 Dec 2011
7 answers
131 views
Hello,
I was wondering why setting the AllowPaging property to true seems to cause a change is the grid's lifecycle.

Our grid uses the NeedDataSource event to get it's data and the EnableViewState is true.  The documentation says that the a normal postback from a control outside of RadGrid should not trigger a NeedDataSource.  This works when AllowPaging is set to false.  But when we set AllowPaging to true the NeedDataSource event seems be behave as if the EnableViewState was set to false.  Meaning that a postback from a control outside of RadGrid does trigger a NeedDataSource.


HF

Hugues Ferland
Top achievements
Rank 1
 answered on 02 Dec 2011
3 answers
139 views
Hi all,

I have a RadEditor that changes between edit and view mode. When disabling the Editor, the toolbar disappear and it looks cleaner for view mode but the OnClientLoad and OnClientInit event are not triggering. As soon as I enable the editor, it works.  

Any work around?
Guillermo Andres
Top achievements
Rank 1
 answered on 02 Dec 2011
3 answers
100 views
Hi there,

I have read "code snippets" as chunk of HTML.

My project needs me to add snippet that has chunk of JavaScript, such as twitter search widget.
Does not need to show on Editor Design though(as <script> etc).
How can we achieve this?

regards
ami
Rumen
Telerik team
 answered on 02 Dec 2011
12 answers
218 views
Hi,

Nor sure if this is possible or not.  I am evaluating RadScheduler to replace another scheduling component and most things are better, but what I do need is the ability on a Day view to click into a time slot, drag down to a later time slot and then, when the mouse button is released open the appointment window with the start and finish times already defined.

What I need to know is, is this possible in the current release of RadScheduler, or is it planned for a future release?

David Penny
Peter
Telerik team
 answered on 02 Dec 2011
0 answers
39 views
Hello!
I have an issue with RadTreeView, that takes place if i have these condions meet together:
1) IE 8. This issue does not happen in Chrome and IE7 under IETester.
2) RadTreeView is in RadWindow
3) All nodes have Exanded == true or ExpandMode == ServerSideCallback;
4) The node i want to expand, icontains at least one node with ExpandMode == ServerSideCallback && Expanded == false //not quite sure about this
None of my RadTreeViews placed directly on page, outside of RadWindow, have this issue.
Thanks for attention.
Konstantin Isaev
Konstantin Isaev
Top achievements
Rank 1
 asked on 02 Dec 2011
2 answers
70 views
I have modified my AppointmentTemplate to add some additional ImageButtons. The buttons display as I'd like, but I'm not sure how to wire up an event for the buttons that will include the Appointment object as an event argument. I'm doing this in c#.
Is there an example of this somewhere I can look at? Thanks!

PS - title is wrong, these are ImageButtons if that makes a difference.
Matt
Top achievements
Rank 1
 answered on 02 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?