Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
147 views
Im using the GridAttachmentColumn and have created a file download function in the item command event.  This works ok and I get the 'save' dialogue box and can download the selected file.  The problem is with the RadProgressArea on the page, I use this becuase I also have a file upload function  on the same page, the progress indicator alwatys shows as well as the save dialogue, and it wont shut down.  I dont actually need this for the download.  Is there a  way i can disable it just for the download function ?
Eyup
Telerik team
 answered on 27 Jul 2012
1 answer
62 views
  • Hello, Telerik Team

    I got a problem to register the httphandler for the captcha control. Like this document says I placed this two codes in the web.config

    <httpHandlers>  
          
    <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.CaptchaImageHandler"verb="*" validate="false" />  
    </httpHandlers>  
     
    <handlers>  
         
    <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode"path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.CaptchaImageHandler" />  
    </handlers>


    But as this is done I still get this error on my page.
      

    Server Error in '/' Application.

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

    Parser Error Message: Could not load file or assembly 'Telerik.Cms.Web.UI' or one of its dependencies. The system cannot find the file specified.

    Source Error: 

    Line 61: 			<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
    Line 62: 			<add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false"/>
    Line 63: <add verb="GET" path="CaptchaImage.axd" type="Telerik.Web.UI.SpamProtection.Captcha.CaptchaImageHandler, Telerik.Cms.Web.UI" />Line 64:     </httpHandlers>
    Line 65: 		<httpModules>

    Source File: C:\Users\jmi01\Desktop\custom-image-editor-updated\Custom_Image_Editor\web.config    Line: 63 

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Cms.Web.UI' could not be loaded.

    === Pre-bind state information ===
    LOG: User = WALBEEKGROEP\jmi01
    LOG: DisplayName = Telerik.Cms.Web.UI
     (Partial)
    LOG: Appbase = file:///C:/Users/jmi01/Desktop/custom-image-editor-updated/Custom_Image_Editor/
    LOG: Initial PrivatePath = C:\Users\jmi01\Desktop\custom-image-editor-updated\Custom_Image_Editor\bin
    Calling assembly : (Unknown).
    ===
    LOG: This bind starts in default load context.
    LOG: Using application configuration file: C:\Users\jmi01\Desktop\custom-image-editor-updated\Custom_Image_Editor\web.config
    LOG: Using machine configuration file from C:\Windows\Microsoft.NET\Framework\v2.0.50727\config\machine.config.
    LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/ace6216c/3fd55b01/Telerik.Cms.Web.UI.DLL.
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/ace6216c/3fd55b01/Telerik.Cms.Web.UI/Telerik.Cms.Web.UI.DLL.
    LOG: Attempting download of new URL file:///C:/Users/jmi01/Desktop/custom-image-editor-updated/Custom_Image_Editor/bin/Telerik.Cms.Web.UI.DLL.
    LOG: Attempting download of new URL file:///C:/Users/jmi01/Desktop/custom-image-editor-updated/Custom_Image_Editor/bin/Telerik.Cms.Web.UI/Telerik.Cms.Web.UI.DLL.
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/ace6216c/3fd55b01/Telerik.Cms.Web.UI.EXE.
    LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/ace6216c/3fd55b01/Telerik.Cms.Web.UI/Telerik.Cms.Web.UI.EXE.
    LOG: Attempting download of new URL file:///C:/Users/jmi01/Desktop/custom-image-editor-updated/Custom_Image_Editor/bin/Telerik.Cms.Web.UI.EXE.
    LOG: Attempting download of new URL file:///C:/Users/jmi01/Desktop/custom-image-editor-updated/Custom_Image_Editor/bin/Telerik.Cms.Web.UI/Telerik.Cms.Web.UI.EXE.
    

     


    Version Information: Microsoft .NET Framework Version:2.0.50727.4016; ASP.NET Version:2.0.50727.4016 


    Hope you guyes can help me out with this problem.

    Thanks in advance,

Slav
Telerik team
 answered on 27 Jul 2012
2 answers
298 views
Good morning! I am having trouble attempting to programmatically (via C#) access specific GridGroupByField header texts. I am assigning custom text within the group headers in the following manner in my markup:

<GroupByExpressions>
                    <telerik:GridGroupByExpression>
                        <SelectFields>
                            <telerik:GridGroupByField FieldName="BeginDate" HeaderText="Begin Date" FormatString="{0:d}" />
                            <telerik:GridGroupByField FieldName="EndDate" HeaderText="End Date" FormatString="{0:d}" />
                        </SelectFields>
                        <GroupByFields>
                            <telerik:GridGroupByField FieldName="BeginDate" SortOrder="Descending" />
                            <telerik:GridGroupByField FieldName="EndDate" SortOrder="Descending" />
                        </GroupByFields>
                    </telerik:GridGroupByExpression>
 </GroupByExpressions>

What I would like to be able to do is access the GridGroupByField HeaderText via C#. Specifically I want to access the EndDate so that I can expand or collapse certain groups based on the end date.

Any help is appreciated! Thank you in advance.


Josh
Martin
Telerik team
 answered on 27 Jul 2012
1 answer
164 views
Hello Telerik Team,
We have an issue with Rad Chart in the Rad Grid View, we have added the following settings in the Web.Config 
 <httpHandlers>
<add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
  </httpHandlers>
<handlers>
<add name="ChartImage.axd_*" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" />
  </handlers>


When we check in the debug mode and host in the Local IIS, we do not get any rad Chart Error and when we host in the Windows Azure with one Instance we do not get Rad Chart Error, but when we deploy in the Windows Azure with two instances, we are getting the rad chart error that is there in the attachment, Please find the attachment.

Please tell us a fix that will solve this Issue.

Thanks,
Arvind.


Ves
Telerik team
 answered on 27 Jul 2012
1 answer
135 views
In the below method when the execution came to   tbData.RenderControl(textWriter)  method ,then it is giving an error as "Page cannot be null. Please ensure that this operation is being performed in the context of an ASP.NET request."

Dim sb As New StringBuilder
        Dim tbData As New HtmlTable
        Dim Row As New HtmlTableRow
        Dim add_img_popup As New RadButton()
        add_img_popup.Text = "Add new Image"
        ' click event handler
        add_img_popup.Enabled = True
        add_img_popup.ID = "btn_add_img_popup"
        ' programmatic id
        ' Page.Controls.Add(add_img_popup)
        Dim CellTopicID As New HtmlTableCell
        CellTopicID.Style.Add("font-family", "Arial")
        CellTopicID.Style.Add("font-size", "10pt")
        CellTopicID.VAlign = "Top"
        CellTopicID.Align = "Left"
        CellTopicID.NoWrap = False
        CellTopicID.Controls.Add(add_img_popup)
        Row.Cells.Add(CellTopicID)


        Dim CellDateNotified As New HtmlTableCell
        CellDateNotified.InnerText = "Hello"
        CellDateNotified.Style.Add("font-family", "Arial")
        CellDateNotified.Style.Add("font-size", "10pt")
        CellDateNotified.VAlign = "Top"
        CellDateNotified.Align = "Left"
        CellDateNotified.NoWrap = True
        Row.Cells.Add(CellDateNotified)
        tbData.Rows.Add(Row)
        Dim stringBuilder As New StringBuilder()
        Dim stringWriter As New StringWriter(stringBuilder)
        Dim textWriter As New HtmlTextWriter(stringWriter)
        tbData.RenderControl(textWriter)
Slav
Telerik team
 answered on 27 Jul 2012
2 answers
157 views
I have an application where a RadWindow opens a modal window - the size of the child window being larger then the parent and im following the example in the DialogReturnValue example.  A button in the parent window opens the child window.

It all works fine if the buton is a html button 
<button onclick="openWin2();" style="width: 123px" title="Window2">Test2</button>

However the chld window is NOT modal if the button is an asp button
<asp:Button ID="Button1" runat="server" Text="Button" />

The page load defining the attribute of the button
Button1.Attributes.Add("onclick", "javascript:openWin2();return false;")

Any ideas ?

Allen

Shinu
Top achievements
Rank 2
 answered on 27 Jul 2012
1 answer
136 views
Is there anyway to set the extended tooltips when building the ribbon from XML?

Also is there an option to set the tooltips to not display?
Bozhidar
Telerik team
 answered on 27 Jul 2012
3 answers
190 views
Is it possible to dock RadToolBar to the bottom of a browser window?
I'm curious if it can be used to create something like a Wibya-type bar that is always visible.
Princy
Top achievements
Rank 2
 answered on 27 Jul 2012
2 answers
80 views
Good Day!

I have my library for resources - Resources.dll.
And I have UserControl with RibbonBar. But if I try to use text from my resource library for ApplicationMenu.Text property then Text is empty.
Here is my ascx

<telerik:RadRibbonBar ID="RadRibbonBar1" runat="server" Skin="Office2010Blue" Width="100%">
    <ApplicationMenu Text='<%=Resources.AdminMainMenu.Menu %>' >
        <Items>
            <telerik:RibbonBarApplicationMenuItem Text="Exit" ImageUrl="~/Media/Images/Icons/16x16_exit.png" />
        </Items>
    </ApplicationMenu>
</telerik:RadRibbonBar>

result of that is empty text for ApplicationMenu.
But if I put the next code on ascx
<%=Resources.AdminMainMenu.Menu %> 
then I can see text from resource library

Any idea?

Thanks,
Eugene
Evgeniy
Top achievements
Rank 1
 answered on 27 Jul 2012
1 answer
110 views
Is it possible to place a RadSkinManager in a RadToolBar?  If So How?
Thanks.
Shinu
Top achievements
Rank 2
 answered on 27 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?