Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
94 views

We are facing an issue on those pages containing telerik grid. When the page loads, there is an error in IE which says - 'Syntax Error' Line 3 Char 1. We get this error only if CustomError is set to On in the web.config file.

<customErrors mode="On" defaultRedirect="General/Error.aspx">

    <error statusCode="403" redirect="General/Error.aspx"/>

    <error statusCode="404" redirect="General/Error.aspx"/>

</customErrors>

 

 

It works fine on pages where telerik grid is not present. We are using the version 2010.1.519.35 of Telerik.Web.UI.dll and Telerik.Web.Design.dll.

When we tried to debug the error, we got the message - 'Sys is undefined' and debugging took us to the file WebResource_2.axd. Seeing the previous threads on this error, we tried to modify the web.config with changes suggested in http://www.asp.net/ajax/documentation/live/ConfiguringASPNETAJAX.aspx and also added
<location path="Telerik.Web.UI.WebResource.axd">  
   <system.web> 
     <authorization> 
       <allow users="*"/>  
     </authorization> 
   </system.web> 
 </location>
but both the things did not work.

Please have a look and let us know if you need any other details.

Attached the global.asax code for application_error event and the file we get when we debug the IE js error.
Sonia
Top achievements
Rank 1
 asked on 18 Jan 2012
10 answers
156 views
Dear reader,

I have a deploy script accidentally deploying the radeditormoss.wsp to a SP2010 farm.
On my user acceptance this lead to some display problems. Retracting the solution solved it.
On the production this is not the case - I did some deploying/retracting/iisesetting in the hope it would solve the problem but no luck.
See the picture for the result

 http://twitpic.com/856slo 

Can not find anything quickly in the ULS. The screenshot is from a list where in the column the setting is enhanced rich text editor.
Stanimir
Telerik team
 answered on 18 Jan 2012
10 answers
149 views
Hi

I just encounter the same problem (refer to http://www.telerik.com/community/forums/aspnet-ajax/editor/enable-toolbar-button-in-preview-mode.aspx). When I change my editor to html view, I want to enable the "FontName", it seems dropdown stop working. I can't see any value.

    function showSource(tab, multiPage, editor) { 
        editor.set_mode(2); 
        showEditorToolbar(true); 
        if (multiPage.get_selectedIndex() != 0) 
            multiPage.set_selectedIndex(0); 
 
        var oTool = getEditor().getToolByName("FontName"); //get a reference to the custom tool 
        oTool.setState(0); 
         
    } 

BTW: It works under IE, but not firefox
Rumen
Telerik team
 answered on 18 Jan 2012
1 answer
58 views
There appears to be a bug in IE9 when it comes to rendering whitespace between table elements which are generated in an ajax update. You can see the effects of this bug in the attached before and after screen shots. After an ajax update the top row of the table gets shifted to the right because an extra column is inserted just in that row. I have found several threads relating to this IE9 bug:

http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/e6f49d52-ec3f-47c5-802e-b80d1a58ed39

http://stackoverflow.com/questions/7267014/ie9-table-has-random-rows-which-are-offset-at-random-columns

Most of the posts seem to point to the elimination of spaces between <.td></td> tags as a work around, but I believe I have done that and the issue still occurs.

Anyhow, is Telerik aware of this IE9 bug? If so, I wonder if Telerik can implement the whitespace scrubbing method shown in the second forum listed here when generating the content being sent through AJAX.

Any thoughts/ideas on how to avoid this issue? Microsoft doesn't seem to be in a hurry to fix it.
Maria Ilieva
Telerik team
 answered on 18 Jan 2012
4 answers
830 views

Hi ,
I have a user control having a radCombobox Now I want to use the selectedvalue from this dropdown on an aspx page where I want to use this selected value as an input parameter to a function which fills a normal dropdown list on this page based on what the value was selected.
I have called this function in the onitemsrequested event of the normal dropdown.Now the problem is that it always takes null.
As a result the dropdown is blank irrespective of what I choose.

Please let me know how to achieve this,if this is not possible by onitemsrequested event,I do not want to create a new user control having both the things on one page.Instead i want the page to call usercontrol value.
I tried using public property concept.it does not work.

Here is the event definition.

  [
protected void ddlCommodity_itemRequested(object o, RadComboBoxItemsRequestedEventArgs e)
    {
         string exchange1 = ExchangeType.Exchange;                               
         DataSet CommodityCodes = service.GetCommodities(exchange1);

        ddlCommodity.DataSource = CommodityCodes.Tables[0];
        ddlCommodity.DataTextField = "'ALL'";
        ddlCommodity.DataValueField = "'ALL'";
        ddlCommodity.DataBind();
    }


the property is
public string Exchange
    {
        get { return ddlExchangeType.SelectedValue;}
        set { ddlExchangeType.SelectedValue = value; }
    }
]

Abhishek
Top achievements
Rank 2
 answered on 18 Jan 2012
2 answers
403 views

Hi Telerik Team,

I want to open and Edit a Word Document Online means open the document in client browser Without save the document on user System

and when edit the document that would be saved on server.

So, Is there any tool available in Telerik Controls?

Below are the steps:

1. Browse a file using fileupload or  Select a file.

2. Use the file upload file and when hit on a button,the file needs to opened/edited something like an GoogleDoc. Or Open in Editor) without save on Client/User machine.

3 .User makes necessary changes and save the file on Server.

please reply ASAP and if possible send me the example. 

I am rally thankful to you.

Best Regrdas,

Ashish
Top achievements
Rank 1
 answered on 18 Jan 2012
1 answer
76 views
Hi ,
    I have tab-strip issue in IE 7 ,it works good in Firefox but not in IE 7.
    The issue is I have 3 pageviews and if i select one page view other two pageview tabs border should be solid but all the three tabs are showing the same behaviour and other issue is when i select a tab the text in the tab is going down. These issues are in IE 7 only, it works good in all other browsers. I am attaching my screenshoots down please solve the issue. This may be due to applying Skin to rad-tab-strip but the skin is mandatory.
Kate
Telerik team
 answered on 18 Jan 2012
2 answers
210 views
hi i set the RadSplitter height and width onload and onresize javascript event
initial loading(maximized browser) looking ok
if i resize the browser clicking of header of browser the Radsplitter height and width doesn't peoper
<telerik:RadSplitter  id="RadSplitter1" CssClass="Splitter"     runat="server" >
                <telerik:RadPane id="LeftPane" runat="server" width="22" Scrolling="None">
                    <telerik:RadSlidingZone id="SlidingZone1" runat="server" width="22"
                    DockedPaneId="Pane1"
                    ExpandedPaneId="Pane2"
                    >
 
                        <telerik:RadSlidingPane id="Pane2" title="Pane2" runat="server" width="150" minwidth="100">This pane is set to be initially expanded when the page is loaded. <br/><br/>Use the <b>ExpandedPaneId</b> property of the <b>RadSlidingZone</b> to control this behavior.</telerik:RadSlidingPane>
                         
                    </telerik:RadSlidingZone>
                </telerik:RadPane>
                <telerik:RadSplitBar id="RadSplitbar1" runat="server"></telerik:RadSplitBar>
                <telerik:RadPane id="MainPane" runat="server">Main Pane</telerik:RadPane>
        </telerik:RadSplitter>

my javascript on load and resize
var windowHight = $(window).height();
var windowWidth = $(window).width();
 
  var vvv = $find("ctl00_RadSplitter1");
 vvv.set_height(windowHight);
 vvv.set_width(windowWidth);



Dobromir
Telerik team
 answered on 18 Jan 2012
2 answers
127 views

Hi,

I am implementing an application using RadGrid, where I am using the following features:

  • Client-side binding
  • Paging mode NextPrevAndNumeric

I have a large amount of data (approximately 50k entries) and I found out that SQL server needs a large amount of data in order to sort all the selected data.

As I support filtering, users will use this option to reach the needed item instead of loading them all and using the pager.

According to these facts my idea is to:

  • Select the top 1000 hits
  • On the pager change the info section "rgInfopart" by using javaScript from
    • “1000 items in 100 pages” to
    • first 1000 items in 100 pages”.

The only problem is, that I cannot find the event late enough to bind the client function that does the needed job. I tried with the “OnDataBound” but on that time the number of available hits is not yet available.

function ModifyPagerInfo() {
    var hitsNo = $('.rgPagerCell .rgInfoPart strong span:first').html();
    if (1000 > hitsNo)
        $('.rgPagerCell .rgInfoPart strong span:first').html('first ' + hitsNo);
}

Does anyone knows if there is any event late enough in order to change the pager info.

Or there is any other possibility to reach the needed functionality?

Thank you,

Kristijan

Kristijan
Top achievements
Rank 1
 answered on 18 Jan 2012
2 answers
226 views
I would like to iterate through all of my TreeList items, but I can only seem to return the parent items and not the children. 

Here is the code I have so far:

foreach (TreeListDataItem i in notificationsTree.Items)
{
    string test21 = i.Cells[3].Text.ToString();
}
Abhishek
Top achievements
Rank 2
 answered on 18 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?