Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
143 views
Hello, is it possible to change the week numbers from starting at 1 on January 1, to someone's fiscal week numbers.  So maybe starting week 1 around March for example.

When looking at the online help, I saw that you can change the RowHeaderText.  However, this value gets set the same for each week.  I would need to count up from whatever week I decide. 

is this possible, or have I misread something?

Thank you,
Chris
Sebastian
Telerik team
 answered on 30 Oct 2009
2 answers
412 views
Hi,

May I know how to set the (Modal = true and AutoReszie=true) in javascript OpenWindow()?

<script type="text/javascript">  
 
  function OpenWindow()  
  {  
     var wnd = window.radopen("http://www.google.com", null);            
     wnd.setSize(400,400);  
     return false;  
  }  
 
</script> 
 
<button onclick="return OpenWindow()" id="button2">Open with radopen</button> 
 

Thanks.

Regards,
Jessie
Jessie
Top achievements
Rank 1
 answered on 30 Oct 2009
1 answer
103 views
Is anyone else having a problem with RADAjaxManager causing full postbacks in Internet Explorer (6, 7 and 8)?  I have a page with 4 dropdowns and two labels (among other things).  The first dropdown (states) populates the second dropdown (counties), the second dropdown populates the third dropdown (cities), the third dropdown populates the fourth dropdown (newspapers), and, finally, the fourth dropdown sets the text and visibility of the two labels.  This works like a champ in FireFox, but not in any of the IE versions.  Instead of updating the subsequent dropdowns via AJAX, it does full postbacks each time.  I've tried using both the RADScriptManager and the ASPScriptManager (just in case) and that made no difference.  My code is below.

Any ideas?

Here is the AjaxManager:
            <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"  
              EnablePageHeadUpdate="False" EnableViewState="False"
              <AjaxSettings> 
                <telerik:AjaxSetting AjaxControlID="ddState"
                  <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="ddCounty" /> 
                  </UpdatedControls> 
                </telerik:AjaxSetting> 
                <telerik:AjaxSetting AjaxControlID="ddCounty"
                  <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="ddCity" /> 
                  </UpdatedControls> 
                </telerik:AjaxSetting> 
                <telerik:AjaxSetting AjaxControlID="ddCity"
                  <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="ddNewspaper" /> 
                  </UpdatedControls> 
                </telerik:AjaxSetting> 
                <telerik:AjaxSetting AjaxControlID="ddNewspaper"
                  <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="lblPublishesOn1" /> 
                    <telerik:AjaxUpdatedControl ControlID="lblPublishesOn2" /> 
                  </UpdatedControls> 
                </telerik:AjaxSetting> 
              </AjaxSettings> 
            </telerik:RadAjaxManager> 
 

Here is one of the DropDowns (the others are all similar):
                  <telerik:RadComboBox ID="ddState" runat="server" AutoPostBack="True" DataSourceID="sdsState" 
                    DataTextField="STATENAME" DataValueField="STATEID" AppendDataBoundItems="True" 
                    CausesValidation="False" Skin="Web20" TabIndex="3" CollapseDelay="10"  
                    ExpandDelay="10"
                    <Items> 
                      <telerik:RadComboBoxItem runat="server" Text="-- Select a State --" Value="0" /> 
                    </Items> 
                    <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
                  </telerik:RadComboBox> 
 


Here is the code that is triggered by the ajax events:
    Protected Sub ddState_SelectedIndexChanged(ByVal o As ObjectByVal e As Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs) Handles ddState.SelectedIndexChanged 
        ddCounty.ClearSelection() 
        ddCounty.Items.Clear() 
        ddCounty.Items.Add(New RadComboBoxItem("-- Select a County --", 0)) 
        ddCounty.Enabled = True 
        lblPublishesOn1.Visible = False 
        lblPublishesOn2.Visible = False 
        ddCounty.Focus() 
    End Sub 
 
    Protected Sub ddCounty_SelectedIndexChanged(ByVal o As ObjectByVal e As Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs) Handles ddCounty.SelectedIndexChanged 
        ddCity.ClearSelection() 
        ddCity.Items.Clear() 
        ddCity.Items.Add(New RadComboBoxItem("-- Select a City --", 0)) 
        ddCity.Enabled = True 
        lblPublishesOn1.Visible = False 
        lblPublishesOn2.Visible = False 
        ddCity.Focus() 
    End Sub 
 
    Protected Sub ddCity_SelectedIndexChanged(ByVal o As ObjectByVal e As Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs) Handles ddCity.SelectedIndexChanged 
        ddNewspaper.ClearSelection() 
        ddNewspaper.Items.Clear() 
        ddNewspaper.Items.Add(New RadComboBoxItem("-- Select a Newspaper --", 0)) 
        ddNewspaper.Enabled = True 
        lblPublishesOn1.Visible = False 
        lblPublishesOn2.Visible = False 
        ddNewspaper.Focus() 
    End Sub 
 
    Protected Sub ddNewspaper_SelectedIndexChanged(ByVal o As ObjectByVal e As Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs) 
        
        . . .  
        
        lblPublishesOn1.Text = pubMon & pubTue & pubWed & pubThu & pubFri & pubSat & pubSun 
        lblPublishesOn2.Text = "Deadline: " & deadLine & " days prior at " & deadTime & " (" & deadTimZon & ")" 
 
 
        lblPublishesOn1.Visible = True 
        lblPublishesOn2.Visible = True 
        rdpRun1.Focus() 
    End Sub 
 

Veli
Telerik team
 answered on 30 Oct 2009
3 answers
131 views
I'm trying to do something similar to the edit on double click example with a radgrid whose columns are not defined on the aspx page.  In the codebehind I'm binding it to a datatable and hiding a couple of columns that are used as database keys.

I have the javascript codeblock on my page and it gets called when I try to doubleclick  -but that produces a javascript error.

When I look at the line in the page source where the error is being reported it's happening here -

function RowDblClick(sender, eventArgs) {
                editedRow = eventArgs.get_itemIndexHierarchical();
                $find("").editItem(editedRow);
            }

Specifically it fails at the last step.  The error is:  'null' is null or not an object.

For what it's worth this page has a master page and the RadScriptManager control is on that master page.  I'm thinking that's the cause.  I've no idea how to work around this.
Veli
Telerik team
 answered on 30 Oct 2009
1 answer
132 views
I've deployed the RadEditorMOSS 4.5.6 solution into my WSS 3.0 environment successfully and the control appears to operate properly in every respect with one very notable exception. It does not replace the default rich-text editor for list items.

I have retracted, deleted and redeployed the solution and of course performed an IIS reset after deployment and before activating the feature of the site. The RadEditor webpart becomes available and appears fully funtional. I can imbed the RadEditor into a webpart and it operates as expected. It does not however replace the rich-text editor.

What am I missing. I have also installed the RadControls for ASP.NET AJAX 2009 2 826 Trial as well on the same server and these controls appear to render and operate according to the docs (I have of course not tested every one).

I then in desperation built a MOSS environment and deployed the RadEditor there. Same results. Fully functional with the excetion that the default rich-text editor is not replaced...

What am I missing? It's honestly the reason that I went seeking the Telerik controls, The SharePoint editor is sadly very lacking and I need it replaced. Any direction at all in this regard would be greatly appreciated.

Regards,

Christian Brown
Stanimir
Telerik team
 answered on 30 Oct 2009
0 answers
98 views
Hi All

 <fieldset style="width:42%;" >  
            <table border="0"><tr><td align="left" >  
            <asp:Label ID="Label15" runat="server" Text="Meeting Date And Time :"></asp:Label>  
            </td>  
            <td>  
                <telerik:RadDateTimePicker ID="RadDTPMeeting" runat="server">  
                  
                </telerik:RadDateTimePicker>  
            </td>  
            </tr><tr>  
            <td td align="left">  
            <asp:Label ID="Label16" runat="server" Text="Actual Meeting Date And Time :"></asp:Label>  
            </td>  
            <td>  
            <telerik:RadDateTimePicker ID="RadDTPActMet" runat="server">  
                </telerik:RadDateTimePicker>  
            </td>  
              
            </tr></table>  
            </fieldset>  

It is not working in mozilla but works fine in IE.

Is there any option to solve it.

Thank You

-Anto
Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
 asked on 30 Oct 2009
1 answer
324 views
Hi, I have a radwindow which has some client functions to change the look of a childwindow which is popuped up after clicking a button in the previous mentioned parent window. In this parent window I have a clientside function which adds a help-icon to the titlebar of the child window, and also a function which shows an alert when the user clicks on the help-icon.

Furthermore the child window contains a RadTreeView. Now I want to retreive the value of the current selected node in the child window and show the value in the function which is triggered for the help in the parent window. How can I reference the RadTreeview selected node in this help-function of the parent?

TIA
Shinu
Top achievements
Rank 2
 answered on 30 Oct 2009
1 answer
200 views
Hi All

I have Three TextBoxes with a RadGrid.which contains two Combo boxes.

I need to set the Tab Order.

From the Third Test Box if I click the TAB key then it highlights the whole grid.

The Cursor must highlight the radcombobox inside the RadGrid.

Is there any option for this.

Thanking You.

-Anto
Princy
Top achievements
Rank 2
 answered on 30 Oct 2009
1 answer
75 views
Does anyone know where this is? I just spent 1/2 hour lookign for it and can't seem to find it, and no, I am not looking for the RadEditor API.

Thanks in advance.
Stanimir
Telerik team
 answered on 30 Oct 2009
1 answer
204 views
SO ive deployed my site to IIS7 in classic mode and been through all sorts of trials to fix this problem (http://blogs.telerik.com/AtanasKorchev/Posts/08-07-18/Web_Resources_demystified_Part_3_Troubleshooting.aspx) but i just cannot.

Here is my web.config:

</appSettings> 
  <connectionStrings /> 
    
 
  <system.web> 
    <customErrors mode="Off" defaultRedirect="~/Error.aspx">  
      <error statusCode="404" redirect="~/PageNotFound.aspx" /> 
    </customErrors> 
    <httpRuntime executionTimeout="90" maxRequestLength="100096" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" enableVersionHeader="true" /> 
    <siteMap enabled="true">  
      <providers> 
      </providers> 
    </siteMap> 
    <!--   
            Set compilation debug="true" to insert debugging   
            symbols into the compiled page. Because this   
            affects performance, set this value to true only   
            during development.  
        --> 
    <compilation debug="true">  
      <assemblies> 
        <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
        <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
        <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
        <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> 
        <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" /> 
        <add assembly="Telerik.Charting, Version=2.0.2.0, Culture=neutral, PublicKeyToken=D14F3DCC8E3E8763" /> 
      </assemblies> 
        
    </compilation> 
    <!--  
            The <authentication> section enables configuration   
            of the security authentication mode used by   
            ASP.NET to identify an incoming user.   
        --> 
    <authentication mode="Windows" /> 
    <!--  
            The <customErrors> section enables configuration   
            of what to do if/when an unhandled error occurs   
            during the execution of a request. Specifically,   
            it enables developers to configure html error pages   
            to be displayed in place of a error stack trace.  
 
        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">  
            <error statusCode="403" redirect="NoAccess.htm" /> 
            <error statusCode="404" redirect="FileNotFound.htm" /> 
        </customErrors> 
        --> 
    <pages> 
      <controls> 
        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
        <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      </controls> 
    </pages> 
    <httpHandlers> 
      <remove path="*.asmx" verb="*" /> 
      <add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" /> 
      <add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" /> 
      <add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" /> 
      <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.1.619.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" /> 
      <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" /> 
      <add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2008.1.619.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" /> 
    </httpHandlers> 
    <httpModules> 
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" /> 
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter" name="UrlRewriter" /> 
    </httpModules> 
  </system.web> 
  <system.codedom> 
    <compilers> 
      <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">  
        <providerOption name="CompilerVersion" value="v3.5" /> 
        <providerOption name="WarnAsError" value="false" /> 
      </compiler> 
      <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">  
        <providerOption name="CompilerVersion" value="v3.5" /> 
        <providerOption name="OptionInfer" value="true" /> 
        <providerOption name="WarnAsError" value="false" /> 
      </compiler> 
    </compilers> 
  </system.codedom> 
  <system.web.extensions> 
    <scripting> 
      <webServices> 
        <jsonSerialization maxJsonLength="1534567"></jsonSerialization> 
      </webServices> 
    </scripting> 
  </system.web.extensions> 
  <!--   
        The system.webServer section is required for running ASP.NET AJAX under Internet  
        Information Services 7.0.  It is not necessary for previous version of IIS.  
    --> 
  <system.webServer> 
    <validation validateIntegratedModeConfiguration="false" /> 
    <modules> 
      <remove name="ScriptModule" /> 
      <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
    </modules> 
    <handlers> 
      <remove name="WebServiceHandlerFactory-Integrated" /> 
      <remove name="ScriptHandlerFactory" /> 
      <remove name="ScriptHandlerFactoryAppServices" /> 
      <remove name="ScriptResource" /> 
      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
      <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 
          
    <add name="Telerik.Web.UI.WebResource" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.1.619.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"/>  
 
        </handlers> 
  </system.webServer> 
  <runtime> 
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">  
      <dependentAssembly> 
        <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" /> 
        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" /> 
      </dependentAssembly> 
      <dependentAssembly> 
        <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" /> 
        <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" /> 
      </dependentAssembly> 
    </assemblyBinding> 
  </runtime> 
  <system.net> 
    <defaultProxy> 
      <proxy usesystemdefault="true" /> 
    </defaultProxy> 
        <mailSettings> 
            <smtp> 
                <network host="mail.propati.com.au" /> 
            </smtp> 
        </mailSettings> 
  </system.net> 
 

What could be wrong. My message is access is denied scriptresource.axd.
Sebastian
Telerik team
 answered on 30 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?