Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
157 views
Hello,

i beleive i found a bug i would like to make Telerik aware of. First off let me give you a quick idea of the webpage. im short on time so i can't really make a demo of it.

webage has several different tables performing different things. each table has a fieldset wrapped for designer looks. we also have a RadformDecorator using the Vista skin and DecoratedControls property set to all.

in 1 of these tables, we orginally used an ajax calender extender on a textbox. however the raddatetpicker provided more functionallity so we replaced the ajax extender and textbox with the raddatepicker.

immediatly upon page load we were getting runtime errors in the Script Resource, and the raddatepickers would come back not aligned, large gaps of space etc..

my solution was starting simple, comment out everything except the raddatepickers and put things in 1 at a time to see what conflict between controls was causing this issue.

i started with radajax panels and radmanagers, they worked well and the raddatepickers were loading correctly when uncommented.

then i uncommented the table with all other controls. worked fine. then the fieldset, worked fine.

then i uncommented the radformdecorator. got the same problem as listed above.
i set the property for DecoratedControls from "all" to "fieldset"

problem solved.

it appears the radformdecorator and raddatepicker have some kind of conflicting designer issues. when the radformdecorator is set to the raddatepicker.


Brad
Georgi Tunev
Telerik team
 answered on 27 Oct 2008
1 answer
137 views
I cannot access all properties from within Visual Studio.  In the Properties window, I can see the basic properties, but the nodes (+) for viewing the detail properties are missing and the link to the wizard is missing.  The SmartTag on the control is also missing.  I could get to these earlier.  I have no idea what changed?
Giuseppe
Telerik team
 answered on 27 Oct 2008
1 answer
78 views
I cannot access all properties from within Visual Studio.  In the Properties window, I can see the basic properties, but the nodes (+) for viewing the detail properties are missing and the link to the wizard is missing.  The SmartTag on the control is also missing.  I could get to these earlier.  I have no idea what changed?
Giuseppe
Telerik team
 answered on 27 Oct 2008
1 answer
237 views
I have a RadMenu control and A Content Place Holder whithin a Masterpage. I have set up the Radmenus ItemClick Event and it does get fired, but I cannot get a partial page load. I always get a full page post back, what am I doing wrong.

Master Page HTML:

<%@ Master CodeBehind="SeastromPublic.master.cs" Inherits="Seastrommfg.MasterPages.SeastromPublic" EnableTheming="true" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="PageHead" runat="server">
<title></title>
<!--[if lte IE 6]>
<script type="text/javascript" src="/JavaScript/supersleight-min.js"></script>
<![endif]-->
<asp:ContentPlaceHolder ID="head" runat="server" />
</head>
<body>
<form id="frmSeastromPublic" runat="server" defaultbutton="ibtnSearch" defaultfocus="ctl00_tbxSearch">
<asp:ScriptManager ID="ScriptManager1" runat="server"/>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnablePageHeadUpdate="true">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadMenu" EventName="RadMenu_ItemClick">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="PageContent" LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<!-- defaultbutton="ibtnSearch" defaultfocus="ctl00_tbxSearch" -->
<div id="divmain" class="main">
<div id="divheader" class="header">
<div id="divlogo" class="logo">
<telerik:RadCodeBlock ID="codeblock1" runat="server">
<a id="aLogo" class="logo" title="<% =XPathValue("anchor[@id=\"aLogo\"]/title") %>" href="<% =XPathValue("anchor[@id=\"aLogo\"]/url") %>">
<img id="imgLogo" class="logo" alt="<% =XPathValue("image[@id=\"imgLogo\"]/alt") %>" src="<% =XPathValue("image[@id=\"imgLogo\"]/url") %>" />
</a>
</telerik:RadCodeBlock>
</div>
<div id="divheaderform" class="headerform">
<div id="divheaderuser" class="headeruser">
<asp:HyperLink ID="hlLogin" CssClass="headerlink" runat="server" Enabled="true" EnableViewState="false" Visible="true" />
<asp:HyperLink ID="hlLogout" CssClass="headerlink" runat="server" Enabled="false" EnableViewState="false" Visible="false" />
<telerik:RadCodeBlock ID="RadCodeBlock2" runat="server">
<% =XPathValue("text[@id=\"LogoDivider\"]") %>
</telerik:RadCodeBlock>
<asp:HyperLink ID="hlViewCart" CssClass="headerlink" runat="server" Enabled="true" EnableViewState="false" Visible="true" />
<telerik:RadCodeBlock ID="RadCodeBlock3" runat="server">
<% =XPathValue("text[@id=\"LogoDivider\"]") %>
</telerik:RadCodeBlock>
<asp:HyperLink ID="hlCheckOut" CssClass="headerlink" runat="server" Enabled="true" EnableViewState="false" Visible="true" />
</div>
<div id="divheadersearch" class="headersearch">
<span id="spanheadersearch" class="searchtext">
<telerik:RadCodeBlock ID="RadCodeBlock4" runat="server">
<% =XPathValue("text[@id=\"Search\"]") %>
</telerik:RadCodeBlock>
</span>
<div id="divsearchbox" class="searchbox">
<asp:TextBox ID="tbxSearch" CssClass="searchbox" runat="server" AutoCompleteType="Search" Enabled="true" Visible="true" MaxLength="18" />
</div>
<asp:ImageButton ID="ibtnSearch" CssClass="imgsearch" runat="server" Enabled="true" OnClick="ibtnSearch_Click" Visible="true" />
</div>
<div id="divheaderbanner" class="headerbanner">
<h1>
<telerik:RadCodeBlock ID="RadCodeBlock5" runat="server">
<% =XPathValue("text[@id=\"BannerHeader\"]") %>
</telerik:RadCodeBlock>
</h1>
</div>
</div>
</div>
<div id="divcontentwrapper" class="contentwrapper">
<div id="divmenuwrapper" class="menuwrapper">
<telerik:RadMenu ID="RadMenu" runat="server" CssClass="topmenu" OnItemClick="RadMenu_ItemClick" OnItemCreated="RadMenu_ItemCreated" CollapseAnimation="InOutBounce" CollapseDelay="200" EnableEmbeddedSkins="False" EnableViewState="true" />
</div>
<telerik:RadCodeBlock ID="RadCodeBlock11" runat="server">
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px" Width="75px">
<img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' style="border: 0px;" />
</telerik:RadAjaxLoadingPanel>
</telerik:RadCodeBlock>
<asp:ContentPlaceHolder ID="PageContent" runat="server" />
</div>
<div id="divbottom" class="bottom">
</div>
</div>
<!--<asp:XmlDataSource ID="TopMenuXMLDataSource" runat="server" DataFile="~/App_Data/WebSite.config" XPath="/webSite/pages/masterPages/seastromPublic.Master/menu/*/*[@display='true' and @displayTopMenu='true']" EnableViewState="False" />
<asp:XmlDataSource ID="LeftMenuDataSource" runat="server" DataFile="~/App_Data/WebSite.config" XPath="/webSite/pages/masterPages/seastromPublic.Master/menu/*/*/*[@display='true' and @displayRightMenu='true']" EnableViewState="False" />-->
</form>

<script language="JavaScript" src="<% =XPathValue("script[@id=\"webtraxs\"]/url") %>" type="text/javascript"></script>

<noscript>
<img alt="" src='<% =Server.UrlDecode( XPathValue("noscript[@id=\"webtraxs\"]/url")) %>' />
</noscript>
</body>
</html>

MASTERPAGE RELEVENT CODEBEHIND:
/// <summary>
/// Respondes to the Item Created event of the menu control.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void RadMenu_ItemCreated( object sender, RadMenuEventArgs e )
{
bool val = true;

if ( e.Item.Attributes["Display"] != null )
{
if ( bool.TryParse( e.Item.Attributes["Display"].ToString( ).Trim( ), out val ) )
{
e.Item.Enabled = val;
e.Item.Visible = val;
}
}
}

/// <summary>
/// Respondes to the Item Clicked event of the menu control.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void RadMenu_ItemClick( object sender, RadMenuEventArgs e )
{
RadAjaxManager1.Redirect( e.Item.Value.Trim( ) );
}


As a side note: Telerik Forum Editor is not rendering any of the images associated with the editor in IE7, Firefox, Safari, Chrome, etc.
Rosen
Telerik team
 answered on 27 Oct 2008
1 answer
158 views
Telerik,
I have a rad tree view control on an asp.net page that i am populating using a collection of value objects in the code below.  The problem is the performance of the treeview is very poor once it is built completely.  When all is said and done there are probably 21 parent nodes, for each parent there are maybe 30 children and for each child there are probably 8 children.  Is there any way to improve the performance of this because right now it is absurdly slow.  Any help or suggestions are appreciated because unless we figure out a fix for this we will not be able to use the component.  Thanks.

John P.

List

<TOCSpecialtyVO> specialties = tocService.GetSectionsAndSubSections(0);

 

 

 

foreach (TOCSpecialtyVO specialty in specialties)

 

{

 

RadTreeNode SpecialtyNode = new RadTreeNode(specialty.shortName);

 

 

foreach (TOCSectionVO section in specialty.sections)

 

{

 

RadTreeNode SectionNode = new RadTreeNode(section.sectionName);

 

 

foreach (TOCSubSectionVO subSection in section.subsections)

 

{

 

RadTreeNode SubSectionNode = new RadTreeNode(subSection.SubSectionName);

 

SectionNode.Nodes.Add(SubSectionNode);

}

SpecialtyNode.Nodes.Add(SectionNode);

}

rtvHierarchy.Nodes.Add(SpecialtyNode);

}

Paul
Telerik team
 answered on 27 Oct 2008
5 answers
234 views
Is it possible to have one gantt chart on top of another?  The reason I ask, is that I would like to have a gantt chart showing a schedule, with another chart overlayed on top that will show the progress.  Basically, trying to re-create a gantt chart from MS Project.
Ves
Telerik team
 answered on 27 Oct 2008
1 answer
95 views
What runtime DLL(s) should be included in the project when we release to production, only want to deply runtime DLL. Sorry we just got this application from another developer and have not used these controls before.

Thanks!
Vlad
Telerik team
 answered on 27 Oct 2008
1 answer
117 views

Hi,

I am having problems using the RadGrid for asp.net Ajax.  I have a dataset.datatable that I put in session and bind to the grid.  That works without a problem.  But, when I intiate an Ajax Request (or Postback) to delete one of the records, I delete the record from the DB, and then delete the record from the table in session.  All of this works fine and you can see that the record is removed from the session table.  But, if I attempt to .databind() or .rebind() to the grid it does not display the records in the dataset it should be bound to.  It displays the 'No Records' default.  Again, immediately before .databind I can look at the table I am binding the grid to and see that it has the correct records.  Any thoughts?

Dim ds As DataSet = MySession.SearchResults
Me.RadGrid.DataSource = ds.Tables(1)
Me.RadGrid.Rebind()

FYI I also tried the .DataBind() with the same results.

 

Thanks!

Yavor
Telerik team
 answered on 27 Oct 2008
3 answers
80 views
Greetings:

I am using the latest Rad Controls for ASP.Net for AJAX (2008.2 1001).

I have a radtabstrip that on the server side makes visible a DIV based upon which one of 3 tab enties is pressed. 

Using an RadAjaxManagerProxy (main manager is in master page), I add an AjaxSettings for the tabstrip to update the tabstrip itself plus all three of the potential DIVs that may be made visible.

Works great in IE.

In Netscape 7.2 it is as if the Ajax times out before the server can take action.  The results are that the DIVs remain the same even though the server has changed their visual behavior.

If I step through the code in debug mode, it somehow works fine. (timing I guess).  And it always works fine in IE.

If I remove the Ajaxification of the tabstrip it works fine in Netscape although the whole page refreshes.

I can find no references to anything on your site regarding Netscape and timing.

Any ideas why Netscape would have an Ajax timing problem ?
Any way I can disable Ajaxification of the tabstrip if the client is Netscape ?

All ideas welcome and appreciated.

The five most common words in a web developer's vocabulary are ..."It-Doesn't-Work-In-Netscape" <g>.

Thanks,

Robb
Paul
Telerik team
 answered on 27 Oct 2008
4 answers
132 views
I''m anot able to get the second RadCombobox values on server side when it is loaded through on item request of first Radcombobox.

i can able to see data in second RadCombobox,but on button click,i can able to get the selected item from first RadCombobox and second RadCombobox  is coming as null.

Can you let me know,what i am missing in the functionality
Rosi
Telerik team
 answered on 27 Oct 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?