Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
98 views
I am using RadAjaxManager and RadAjaxManagerProxy for achieving AJAX in my page.  I have asp:PlaceHolder which have all dynamic controls and i want to refresh those set of controls on AJAX call. I have put that in panel which i have placed in div to get the fix region with scroll bar.

<div id="dvQuestionSection" class="QuestionSection" onscroll="SetQuestionSectionScrollPos()">
    <asp:Panel ID="pnlPhFields" runat="server">
        <asp:PlaceHolder ID="phFields" runat="server"></asp:PlaceHolder>
    </asp:Panel>
</div>
 
After ajax call gets completed, scroll position of div gets changed. And what i have noticed is, this happens especially when I have RadEditor control in place holder and it set the scroll position so that RadEditor comes visible.

I want to be on same scroll position where I am invoking ajax call.
Any direction on this will be a great help.

Thanks
Paresh
Nayan
Top achievements
Rank 1
 asked on 01 Jun 2012
1 answer
163 views

In my develop machine everything works fine, but when i put in test server

I have this error:

if(!e){throw"Error while uploading, "+i;

The pop error messages are: 

SCRIPT5022: Unhandled Error in Silverlight Application The remote server returned an error: NotFound.   at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
   at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
   at UploadPrototype.MainPage.ProcessResponse(IAsyncResult asyncResult)
   at System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClassd.<InvokeGetResponseCallback>b__b(Object state2)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback() 
eval code (526), line 1 character 1

Any ideias?
I folowing this 2 threads but with no success:

http://www.telerik.com/community/forums/aspnet-ajax/async-upload/custom-handler-scenario-throwing-an-error.aspx 
http://www.telerik.com/community/forums/aspnet/general-discussions/problem-in-async-upload.aspx 

my web config is:


<system.web>
<httpRuntime  requestValidationMode="2.0" />
 
    <httpHandlers>
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" />
<add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/>
<add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler,Telerik.Web.UI"/>
</httpHandlers>




AND



<system.webServer>
 <modules runAllManagedModulesForAllRequests="true" />
 <validation validateIntegratedModeConfiguration="false" />
    <handlers>
<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<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="RadUploadProgressHandler" verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler,Telerik.Web.UI"/>
<add name="Telerik.Web.UI.WebResource.axd_*" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" preCondition="integratedMode"/>
</handlers>



Pedro
Top achievements
Rank 1
 answered on 01 Jun 2012
2 answers
121 views
Hi,

I have an issue where setting args.set_cancel(true) in the OnClientFileUploading event doesn't seem to cancel the upload.

I have a small working example of this.

The example checks that you are not uploading two files with the same name.  Upon detecting that you are, it displays an alert and sets the cancel to true.  I note however that when posting back, I still get a FileUploaded server event for each file, including the cancelled one(s).

How do I know that one of those is actually cancelled?  What is the expected functionality of cancelling the upload through this method?  All that seems to happen is the file indicator turns red but otherwise it seems it makes no difference to functionality.

Please help! :)

Andrew
Peter Filipov
Telerik team
 answered on 01 Jun 2012
2 answers
148 views
Hi, i added Template column in RadGrid and in this template added LinkButton, i want that when i clicked LinkButton to get this LinkButton text.
Thanks.
Mind
Top achievements
Rank 1
 answered on 01 Jun 2012
1 answer
104 views
We are Ajax radgrid all over the application. We noticed strange UI when our radgrid is using checkbox. Alternate Column height increases and alternate row doesn't fill color completely. Check out the picture. How can we addressed it.
Pavlina
Telerik team
 answered on 01 Jun 2012
1 answer
80 views
Hi,

I am using RadToolBar in my project.

In IE7 and IE8 the RadToolBarDropDown is rendering correctly:



But in IE9 it is rendering on two lines:



I'm using the latest version of Telerik. Does anyone have a solution?

Thanks in advance
Princy
Top achievements
Rank 2
 answered on 01 Jun 2012
1 answer
55 views
hello all , 
i've three raddock 1 and 2 in zone 1 , and 3 in zone 2 on load ,
what i need is : when i move raddock1 to zone 2 , the raddock 2 also be moved automatically and the third one also moved to zone 1  
(in the same time , i want to move 1 and 2 into same zone only )
Loyal User
Top achievements
Rank 1
 answered on 01 Jun 2012
3 answers
246 views
Hi,
I have a radcombobox where I have EnableLoadonDemand is True. When I type "America" in the dropdownlist, it searches first for all "A" then "AM" then "AME" and so on. For my project, getting data takes a while so each search makes dropdownlist slower. What I would like to do is after user type a letter or word, I want to wait for a second then go for search. so instead of making multiple trips to sever, it will make only 1 trip. Ofcourse, User will wiat for a second but that's better than multiple roundtrip to server.

Hope this makes sense.

Thanks in advance for youe help.
Princy
Top achievements
Rank 2
 answered on 01 Jun 2012
8 answers
219 views
So I have a Grid with a MasterTableView that contains a DetailTable, and that DetailTable contains a DetailTable.  Everything is correct as far as layout indentation when it renders to the screen and when I export to pdf. But the problem is when I try to export to excel. When the spreadsheet opens the MasterTableView item is say 7 columns wide. The first DetailTable item is say 5 columns wide, and the second DetailTable items are 3 columns wide. And they appear like they are center aligned so it looks like an upside down pyramid.  My client does not like this and I have tried for hours now to figure out how to make the item indentations look like they do in the pdf and screen but with no luck.  Is there a setting or something to make the excel render correctly or is this a bug.  Below will be my grid markup, and I'll attach an image of the spreadsheet so you can see what it looks like.  Thanks for any help in this issue.


<telerik:RadGrid ID="RadGrid1" runat="server" ShowFooter="false" AutoGenerateColumns="false" AllowPaging="true" AllowSorting="false" CellSpacing="5" AllowFilteringByColumn="false"> 
    <ExportSettings HideStructureColumns="true" ExportOnlyData="true" IgnorePaging="true" OpenInNewWindow="true">
        <Pdf AllowAdd="false" AllowCopy="true" AllowModify="false" AllowPrinting="true" PageTitle="ESign Sent vs Sold" Title="ESign Sent vs Sold" PaperSize="A4" PageWidth="260mm" />
        <Excel Format="Html" />
    </ExportSettings>
    
    <ClientSettings AllowExpandCollapse="true">
        <Selecting AllowRowSelect="true" />
    </ClientSettings>

    <MasterTableView DataKeyNames="ParentID, ID" Name="DivisionTable" HierarchyLoadMode="Client" HierarchyDefaultExpanded="false" ClientDataKeyNames="ParentID, ID">
        <HeaderStyle Font-Bold="true" HorizontalAlign="Left" Wrap="false" />
        <ItemStyle Wrap="false" VerticalAlign="Middle" HorizontalAlign="Left" />
        <AlternatingItemStyle Wrap="false" VerticalAlign="Middle" HorizontalAlign="Left" />
        <FooterStyle Wrap="false" />

        <DetailTables>
            <telerik:GridTableView Name="RegionTable" DataKeyNames="ParentID, ID" ClientDataKeyNames="ParentID, ID" HierarchyLoadMode="Client" Width="100%" HierarchyDefaultExpanded="false" >
                <DetailTables>
                    <telerik:GridTableView Name="BranchTable" DataKeyNames="ParentID, ID" ClientDataKeyNames="ParentID, ID" HierarchyLoadMode="Client" Width="100%" HierarchyDefaultExpanded="false" >
                        <Columns>
                            <telerik:GridTemplateColumn UniqueName="Filler" ItemStyle-Width="25px" HeaderStyle-Width="25px">
                                <ItemTemplate> <span>&nbsp;</span> </ItemTemplate>
                            </telerik:GridTemplateColumn>
                            <telerik:GridBoundColumn UniqueName="Text" DataField="Text" SortExpression="Text" HeaderText="Branch" ItemStyle-Width="300px" HeaderStyle-Width="300px" />
                            <telerik:GridBoundColumn UniqueName="SentCount" DataField="SentCount" SortExpression="SentCount" HeaderText="ESign Sent" ItemStyle-Width="150px" HeaderStyle-Width="150px" />
                            <telerik:GridBoundColumn UniqueName="SoldCount" DataField="SoldCount" SortExpression="SoldCount" HeaderText="Sold w/ ESign"  />
                        </Columns>
                    </telerik:GridTableView>
                </DetailTables>
                <Columns>
                    <telerik:GridBoundColumn UniqueName="Text" DataField="Text" SortExpression="Text" HeaderText="Region" ItemStyle-Width="300px" HeaderStyle-Width="300px" />
                    <telerik:GridBoundColumn UniqueName="SentCount" DataField="SentCount" SortExpression="SentCount" HeaderText="ESign Sent" ItemStyle-Width="150px" HeaderStyle-Width="150px" />
                    <telerik:GridBoundColumn UniqueName="SoldCount" DataField="SoldCount" SortExpression="SoldCount" HeaderText="Sold w/ ESign"  />
                </Columns>
            </telerik:GridTableView>
        </DetailTables>
        <Columns>
            <telerik:GridBoundColumn UniqueName="Text" DataField="Text" SortExpression="Text" HeaderText="Division" ItemStyle-Width="300px" HeaderStyle-Width="300px" />
            <telerik:GridBoundColumn UniqueName="SentCount" DataField="SentCount" SortExpression="SentCount" HeaderText="ESign Sent" ItemStyle-Width="150px" HeaderStyle-Width="150px"   />
            <telerik:GridBoundColumn UniqueName="SoldCount" DataField="SoldCount" SortExpression="SoldCount" HeaderText="Sold w/ ESign"  />
        </Columns>
    </MasterTableView>
</telerik:RadGrid>
Daniel
Telerik team
 answered on 01 Jun 2012
1 answer
100 views
Does anyone have any experience or seen any reports about the usability implications of using Dock in their web applications? My partner and I are designing an app, but disagree about the use of dockable windows.  Our users, are not technical people, but rather "regular" business people.

He wants our users to have the ability the customise their interface - a nice goal - however, I'm concerned that for non technical people it could be too confusing, and may make support much more complex.

Thanks for any insights you may have in advance!
Slav
Telerik team
 answered on 01 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?