Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
147 views
Hi,

Is there any reason that two clientside AJAX requests might clash?

original code;
AjaxPanel1.AjaxRequest("1");  
AjaxPanel2.AjaxRequest("2"); 

If the second request is initiated before the first one has finished the first request does not update the page, eg. I have a panelbar in the first AJAX panel and a tree in the second.  I have set break points in the code and can see that the appropriate code is being run but which ever is called first does not return the updates.

If I add a delay then my code works correctly.

with delay;
AjaxPanel1.AjaxRequest("1");  
setTimeout("AjaxPanel2.AjaxRequest('2');",1000); 

I have also tested this with a delay on both calls (the same duration) and this doesn't work. 

I don't want to have to delay one call like this because the length of the delay will be different depending on the situation, internet connection type etc...

Oziem
Top achievements
Rank 2
 answered on 12 Nov 2008
2 answers
127 views

I have a RadGrid that binds to an ObjectDataSource.  In its MasterTableView Columns, there is a column that has a GridHyperLinkColumn that has 3 DataNavigateUrlFields.  In Q2, the column seemed to work fine if there was a null parameter.  In Q3, this causes a runtime error.  Is this a functionality change, or have I missed something?

<telerik:RadGrid runat="server" ID="grdCarLst" Width="100%" DataSourceID="objCarLst"
    EnableEmbeddedSkins="false" AllowSorting="false">
    <MasterTableView Width="100%" AutoGenerateColumns="false" DataSourceID="objCarLst"
        AllowSorting="false">
        <NoRecordsTemplate>
            No vehicles matched your search criteria.
        </NoRecordsTemplate>
        <Columns>
            <telerik:GridHyperLinkColumn DataNavigateUrlFields="Parm1,Parm2,Parm3" Text="Details"
                DataNavigateUrlFormatString="~/Used-Cars/Used-Car-Details.aspx?one={0}&two={1}&three={2}">
        </Columns>
    </MasterTableView>
</telerik:RadGrid>

For our purposes:

Parm1 string - never null
Parm2 byte
Parm3 string - occasionally null

Dev Environment: Windows Vista Home Ed.
Server: Windows Server 2008
Telerik.Web.UI.dll Version=2008.03.1105.35

PS
I think the new site design looks great!
Daniel
Telerik team
 answered on 12 Nov 2008
1 answer
553 views
Hi Everyone,
Can someone help me out? I have stuck when load up the page! Please note Yesterday my company just installed Q3 ver, and this morning when I was trying to test my page, the following error occurred...

Event code: 3007
Event message: A compilation error has occurred.
Event time: 12/11/2008 9:48:20 AM
Event time (UTC): 11/11/2008 11:48:20 PM
Event ID: d8146ca74ad84201a0317f2192e8d0ba
Event sequence: 8
Event occurrence: 1
Event detail code: 0
 
Application information:
    Application domain: /LM/w3svc/1/ROOT/Web/OverDimension-5-128709208772126981
    Trust level: Full
    Application Virtual Path: /Web/OverDimension
    Application Path: D:\Projects\OverDimension\OverDimension\Trunk\Web\
    Machine name: VP
 
Process information:
    Process ID: 1056
    Process name: aspnet_wp.exe
    Account name: VP 
 
Exception information:
    Exception type: HttpCompileException
    Exception message: D:\Projects\Trunk\Web\Application.aspx(13): error BC30560:
'RadScriptManager' is ambiguous in the namespace 'Telerik.Web.UI'.
 
Request information:
    Request URL: http://localhost/Web/ 
    Request path: /Web/Application.aspx
    User host address: 127.0.0.1
    User: 
    Is authenticated: True
    Authentication Type: Negotiate
    Thread account name:  
Thread information:
    Thread ID: 1
    Thread account name: 
    Is impersonating: True
    Stack trace:    at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
   at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 
 
Custom event details:
Daniel
Telerik team
 answered on 12 Nov 2008
3 answers
182 views
I am trying to find, given a GridDataItem the index of the DataRow in the DataTable it was bound from.

I thought DataSetIndex looked like the answer but it seems to return the index of the row in the GridView and not the index in the original DataTable i.e. if the user has sorted the grid it references the wrong DataRow.

What am I doing wrong?
Yavor
Telerik team
 answered on 12 Nov 2008
3 answers
96 views
I cannot keep the text from wrapping when a group is collapsed. As I open the 2 groups the text expands in the first group and as I close the groups it starts to wrap.
I have searched and tried everything I could think of but to no avail.
I am sure it is something simple.

Below is the code from the grouping portion of the grid markup:
<GroupByExpressions>
<radG:GridGroupByExpression>
<SelectFields>
<radG:GridGroupByField FieldAlias="billboard" FieldName="billboard" HeaderText=" " HeaderValueSeparator="" />
</SelectFields>
<GroupByFields>
<radG:GridGroupByField FieldAlias="billboard" FieldName="billboard" FormatString="" />
</GroupByFields>
</radG:GridGroupByExpression>
<radG:GridGroupByExpression>
<SelectFields>
<radG:GridGroupByField FieldAlias="Slotname" FieldName="SlotName" HeaderText=" " HeaderValueSeparator="" />
</SelectFields>
<GroupByFields>
<radG:GridGroupByField FieldAlias="Slotnumber" FieldName="Slotnumber" FormatString="" />
</GroupByFields>
</radG:GridGroupByExpression>
</GroupByExpressions>
<GroupHeaderItemStyle Wrap="False" />
Yavor
Telerik team
 answered on 12 Nov 2008
1 answer
147 views
Do you guys have any recent examples of how to use the TabStrip as a menu? I ran across this but it appears to use your old framework:
http://www.telerik.com/community/forums/aspnet/tabstrip/help-needed-using-tabstrip-for-a-menu.aspx

I'm basically trying to keep the look of the tabstrip control, but having it drop down as a menu over the page content when clicking on the tab, and then having it retract after something is clicked or focus is lost. I tried using the RadMenu itemtemplates... but this would be a ton of extra work for me since I already have the tab control converted to a custom skin and looking exactly how I need it to. After seeing the above example I am hopeful that their might be an easier solution?

Thanks,
Levi
Paul
Telerik team
 answered on 12 Nov 2008
1 answer
298 views
I am using the RadGrid's ConfirmText property on a GridButtonColumn to show a "are you sure you wish to delete this?" type of message. I am wanting to give the message some HTML and a new line to give more prominence to it. Is this possible?
Vlad
Telerik team
 answered on 12 Nov 2008
4 answers
454 views
I have seen similar issue in this forum, but none of them are working for me.

For my situation, everything was working fine locally, errors happened only on the server. I am using Q3 2008, Telerik.Web.UI.dll version is 2008.3.1016.35. Noticed that ASP.NET Version on server is 2.0, not sure whether that's the reason.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

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

Source Error:

Line 1:  <%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>
Line 2:  
Line 3: <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>Line 4:  
Line 5:  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

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

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
Dimo
Telerik team
 answered on 12 Nov 2008
1 answer
115 views
when i display my grid with gridgroupbyfield and it has this
Group Field: Customer (Showing 15 of 89 items. Group continues on the next page.)

how do i disable that (Showing...)
also i want all of the gridgroupbyfield to be collapse on first load. it only should get expanded when i click on it. please please please help me. thank you very much.
Shinu
Top achievements
Rank 2
 answered on 12 Nov 2008
4 answers
173 views
I have two panes separated by a splitbar.  When the user resizes or expands/collpases the splitbar, I'm saving the width of both panes in a cookie.  When the user returns to the page, I'm extracting the cookie information and setting the widths of each pane.  If either one of the widths returned from the cookie is '0', I set the corresponding pane to Collapse() and the other one to Expand().  

function OnClientLoadedHandler(splitter, args)

{

var leftWidthCookie = getCookie('leftPaneWidth');

var rightWidthCookie = getCookie('rightPaneWidth');

if (leftWidthCookie != null && rightWidthCookie != null)

{

var leftPane = splitter.getPaneById('<%= LeftPane.ClientID %>');

var rightPane = splitter.getPaneById('<%= RightPane.ClientID %>');

if (leftWidthCookie == '0')

{

leftPane.Collapse();

rightPane.Expand();

}

else if (rightWidthCookie == '0')

{

rightPane.Collpase();

leftPane.Expand();

}

else

{

leftPane.set_width(leftWidthCookie);

rightPane.set_width(rightWidthCookie);

}

}

}


The issue is that the user can't expand the collapsed pane, clicking on the arrow does nothing.  Does something else need to be set?  Ideally, I would like the splitbar to go to 50% width of the radSplitter so the user can then resize manually or be able to expand or collapse either pane.

Thanks!
Juan_Massyn
Top achievements
Rank 1
 answered on 12 Nov 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?