Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
100 views
I've noticed that any page that I create that has a radcaptcha on it, causes the warning in Internet Explorer saying "The webpage wants to run the following add-on: 'Windows Media Player' from 'Microsoft Corporation'.

Once you've accepted this once, it doesnt come up again on the client IE browser.  Of course, this warning doesn't pop up in Chrome of FireFox.

Does anyone have any thoughts on this issue, or am I basically screwed for people that use IE (that is, they have to accept the warning - something that I'm worried may scare people away if they see that come up)?

Thanks.
Slav
Telerik team
 answered on 27 Jul 2012
3 answers
162 views
I am experiencing issues with line breaks being added/removed, text being moved around, and font sizes/weight/type changing after saving using the radeditor.  Even on the demo site, if I paste in the content, switch the editor from enabled to disabled, I see line breaks being added. I am using paragraphs, not breaks. What is going on here and is there a setting I can add to stop this from occuring?

More Info: I am using version 2012.1.411.35. Browser is IE8.

I have attached before and after saving images.


Dobromir
Telerik team
 answered on 27 Jul 2012
0 answers
46 views
here is my code:
  
        <telerik:RadDataPager CssClass="rdpWrap" runat="server"
                ID="Pager" PagedControlID="rptq" AllowSEOPaging="True"
    AllowRouting="True" RouteName="q" PageSize="15"
        RoutePageIndexParameterName="pager" Width="330px"
              ontotalrowcountrequest="Pager_TotalRowCountRequest" Culture="fa-IR" Skin="Outlook">
    <Fields>
        <telerik:RadDataPagerButtonField FieldType="Numeric" PageButtonCount="15"
            HorizontalPosition="RightFloat" />
    </Fields>
</telerik:RadDataPager>
     
    <br/>
    <br/>
    <cc1:DataPagerRepeater ID="rptq" DataSourceID="dsq" runat="server">
        <ItemTemplate>
            <blockquote><%#Eval("content")%></blockquote>
            <b><a href="/jomalat/<%#Eval("F_name") %>-<%#Eval("L_name")%>/<%#Eval("author_id")%>"><%#Eval("F_name")%> <%#Eval("L_name")%></a></b>
            <asp:Button runat="server"/>
            <br/>
            <br/>
        </ItemTemplate>
    </cc1:DataPagerRepeater>
    <telerik:RadDataPager CssClass="rdpWrap" runat="server"
                ID="RadDataPager1" PagedControlID="rptq" AllowSEOPaging="True"
    AllowRouting="True" RouteName="q" PageSize="15"
        RoutePageIndexParameterName="pager" Width="330px"
              ontotalrowcountrequest="Pager_TotalRowCountRequest" Culture="fa-IR" Skin="Outlook">
    <Fields>
        <telerik:RadDataPagerButtonField FieldType="Numeric" PageButtonCount="15"
            HorizontalPosition="RightFloat" />
    </Fields>
</telerik:RadDataPager>

And my problem is the first pager is work fine!
and the second is but when I click on for example on page 4 the first pager show page 4 but the second still on page 1!
I don't know where is the problem! 
Taha
Top achievements
Rank 1
 asked on 27 Jul 2012
1 answer
64 views
Hi,
I've created a website like MSDN, it has a tree at left side and a content placeholder at right.
I want to show contents of a html file at the contentplaceholder by clicking each node of the tree but don't know how.
please help me.
Tooraj
Top achievements
Rank 1
 answered on 27 Jul 2012
2 answers
106 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
47 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
263 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
128 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
112 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
126 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?