Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
146 views

I have a simple test project. 

One panel executes a timer every 4 seconds (a long running task).

Another panel has a button that will redirect to another page.

Each panel is added to the radajaxmanager ajaxsettings

When the timer is executing, the button on the second panel never executes (although the loading panel is shown). So the new page isn't shown.

This is the code I use:

protected void Page_Load(object sender, EventArgs e)
    {
        RadAjaxManager1.RequestQueueSize = 3;
          
        // Panel 1
        Panel panel = new Panel();
        panel.Height = 200;
        panel.Width = 200;
        panel.BorderColor = System.Drawing.Color.Green;
        panel.BorderWidth = 3;
        panel.BorderStyle = BorderStyle.Solid;
        panel.ID = "NewPanel";
        Label newLabel = new Label();
        newLabel.ID = "NewLabel";
        panel.Controls.Add(newLabel);
        Timer newTimer = new Timer();
        newTimer.ID = "newTimer";        
        newTimer.Interval = 4000;
        newTimer.Enabled = true;         
        newTimer.Tick += newTimer_Tick;
        panel.Controls.Add(newTimer);
  
        RadButton newButton = new RadButton();
        newButton.ID = "newButton";
        newButton.Click += newButton_Click;
        panel.Controls.Add(newButton);
                  
        form1.Controls.Add(panel);
  
        // Panel 2
        Panel panel2 = new Panel();
        panel2.Height = 200;
        panel2.Width = 200;
        panel2.BorderColor = System.Drawing.Color.Beige;
        panel2.BorderWidth = 3;
        panel2.BorderStyle = BorderStyle.Solid;
        panel2.ID = "NewPanel2";
        Label newLabel2 = new Label();
        newLabel2.ID = "NewLabel2";
        panel2.Controls.Add(newLabel2);
  
        RadButton newButton2 = new RadButton();
        newButton2.ID = "newButton2";
        newButton2.Click += newButton2_Click;
        panel2.Controls.Add(newButton2);
  
        form1.Controls.Add(panel2);
  
        RadAjaxManager1.AjaxSettings.AddAjaxSetting(panel, panel);
        RadAjaxManager1.AjaxSettings.AddAjaxSetting(panel2, panel2);
    }
  
    void newButton2_Click(object sender, EventArgs e)
    {
        System.Threading.Thread.Sleep(500);        
        this.Page.Response.Redirect("~/Test.aspx");
    }
  
    void newButton_Click(object sender, EventArgs e)
    {
        System.Threading.Thread.Sleep(500);
        Label lbl = Page.FindControl("NewLabel") as Label;
        lbl.Text = System.DateTime.Now.ToString();
    }
    void newTimer_Tick(object sender, EventArgs e)
    {
        System.Threading.Thread.Sleep(3000);
        Label lbl = Page.FindControl("NewLabel") as Label;
        lbl.Text = System.DateTime.Now.ToString();
    }
}

Maria Ilieva
Telerik team
 answered on 07 Feb 2012
0 answers
78 views
Hi all,
i am facing problem doing group on table how can i write this sql query into linq c#

select
UserProfile.ID,
UserProfile.FirstName+' '+UserProfile.LastName UserName,
IsNull(CurrentBid.[Current],0)CurrentBid,
IsNull(WinnerBid.Winner,0)WinnerBid,
IsNull(LoseBid.Lose,0)LoseBid,
IsNull(CancelledBid.Cancel,0)CancelledBid
from UserProfile
left join
(
select count(BidTransactions.ID) [Current],UserID
from BidTransactions where
IsCloseBid= null or IsCloseBid = 0
group by UserID)CurrentBid on CurrentBid.UserID = UserProfile.ID
left Join (
select count(BidTransactions.ID) [Winner] ,UserID
from BidTransactions where
IsCloseBid= 1 AND IsWinnerBid = 1
group by UserID)WinnerBid on WinnerBid.UserID = CurrentBid.UserID
left Join(
select count(BidTransactions.ID) [Lose],UserID
from BidTransactions where
IsCloseBid= 1 AND IsWinnerBid = 0
group by UserID)LoseBid on LoseBid.UserID = CurrentBid.UserID
left join(
select count(BidTransactions.ID) [Cancel],UserID
from BidTransactions where
IsCancelled = 1
group by UserID) CancelledBid on CancelledBid.UserID = CurrentBid.UserID
where UserProfile.RoleName in ('Sellers','Bidders')
kd
Top achievements
Rank 1
 asked on 07 Feb 2012
1 answer
31 views
Hi guys,
I have following code in aspx:

<

 

 

telerik:RadScriptManager ID="ScriptManager1" runat="server" />

 

 

 

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

 

 

 

<ClientEvents OnRequestStart="onRequestStart" />

 

 

 

<AjaxSettings>

 

 

 

<telerik:AjaxSetting AjaxControlID="mainPanel">

 

 

 

<UpdatedControls>

 

 

 

<telerik:AjaxUpdatedControl ControlID="mainPanel" LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

 

</UpdatedControls>

 

 

 

</telerik:AjaxSetting>

 

 

 

 

</AjaxSettings>

 

 

 

</telerik:RadAjaxManager>

 

 

 

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" EnableSkinTransparency ="true" runat="server">

 

 

 

</telerik:RadAjaxLoadingPanel>

 


I have following code in c#:

protected

 

 

void Button_Click(object sender, EventArgs e)

 

{

 

 

string reqno = string.Empty;

 

 

 

string status = string.Empty;

 

 

 

string fyear = FYear.ToString();

 

 

 

SecureQueryString param = new SecureQueryString();

 

param.Add(

 

"ReqnoId", reqno);

 

param.Add(

 

"StatusId", status);

 

param.Add(

 

"Fyear", fyear);

 

 

 

string url = "~/PerSession/PRRequest/PrincipalRequest.aspx?data=" + param.ToString();

 

Response.Redirect(url);

 

}


In VS2005 it works fine.When I converted to VS2010 and try to click on button above to redirect I am gettig this error:
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '�'.

When I comment out this code:

<UpdatedControls>

 

 

 

<telerik:AjaxUpdatedControl ControlID="mainPanel" LoadingPanelID="RadAjaxLoadingPanel1" />

 

 

 

</UpdatedControls>

 

 it works fine but progress bar now does not working.
Please help me to resolve this issue.
Tsvetoslav
Telerik team
 answered on 07 Feb 2012
1 answer
147 views
Hi there everyone........Im trying to create a grid with dynamic hierarchy drill down levels in code behind....this is my code




SqlConnection cn = new SqlConnection(connStr);
            SqlDataAdapter da = new SqlDataAdapter("SELECT MAX(node) AS node FROM tabs", cn);
            DataTable dt = new DataTable();
 
            if (cn.State == ConnectionState.Closed)
            {
                cn.Open();
            }
            try
            {
                da.Fill(dt);
            }
            catch { }
 
            if (dt != null && dt.Rows.Count > 0)
            {
                Int32 node = Convert.ToInt32(dt.Rows[0]["node"].ToString());
 
                RadGrid RadGrid1 = new RadGrid();
 
                SqlDataSource sdsMaster = new SqlDataSource(connStr,"SELECT * FROM tabs WHERE active=1 AND idParentNode = '0' ORDER BY displayOrder");
                sdsMaster.ID = "sqlDataSourceMaster";
                phGridContainer.Controls.Add(sdsMaster);
 
                RadGrid1.ID = "RadGrid1";
                RadGrid1.DataSourceID = "SqlDataSourceMaster";
 
                RadGrid1.MasterTableView.DataKeyNames = new string[] { "id" };
 
                RadGrid1.Width = Unit.Percentage(98);
                RadGrid1.PageSize = 3;
                RadGrid1.AllowPaging = true;
                RadGrid1.AllowSorting = true;
                RadGrid1.PagerStyle.Mode = GridPagerMode.NextPrevAndNumeric;
                RadGrid1.AutoGenerateColumns = false;
                RadGrid1.ShowStatusBar = true;
 
                RadGrid1.MasterTableView.PageSize = 10;
 
                //Add columns
                GridBoundColumn boundColumn;
                boundColumn = new GridBoundColumn();
                boundColumn.DataField = "id";
                boundColumn.HeaderText = "ID";
                RadGrid1.MasterTableView.Columns.Add(boundColumn);
 
                boundColumn = new GridBoundColumn();
                boundColumn.DataField = "label";
                boundColumn.HeaderText = "Tab";
                RadGrid1.MasterTableView.Columns.Add(boundColumn);
 
                 
 
                if (node > 0)
                {
                    for (int i = 1; i <= node; i++)
                    {
                        SqlDataSource sds = new SqlDataSource(connStr,"SELECT * FROM Tabs WHERE active=1 AND idParentNode = @id ORDER BY displayOrder");
                        /*THIS IS THE PART IM HAVING ISSUES*/
                        sds.SelectParameters.Add("id", RadGrid1.MasterTableView.DataKeyValues[0].ToString());
                         
                        sds.ID = "sqlDataSource" + i.ToString();
                         
                        phGridContainer.Controls.Add(sds);
                        
                        GridTableView tableViewDetail = new GridTableView(RadGrid1);
                        tableViewDetail.DataSourceID = "sqlDataSource" + i.ToString();
                        tableViewDetail.Width = Unit.Percentage(100);
 
                        tableViewDetail.DataKeyNames = new string[] { "id" };
 
                        GridRelationFields relationFields = new GridRelationFields();
                        relationFields.MasterKeyField = "id";
                        relationFields.DetailKeyField = "idParentNode";
                        tableViewDetail.ParentTableRelation.Add(relationFields);
 
                        RadGrid1.MasterTableView.DetailTables.Add(tableViewDetail);
 
                        //Add columns
                        boundColumn = new GridBoundColumn();
                        boundColumn.DataField = "id";
                        boundColumn.HeaderText = "ID";
                        tableViewDetail.Columns.Add(boundColumn);
 
                        boundColumn = new GridBoundColumn();
                        boundColumn.DataField = "label";
                        boundColumn.HeaderText = "Tab";
                        tableViewDetail.Columns.Add(boundColumn);
                         
                         
                    }
                     
                     
                }
                 
                phGridContainer.Controls.Add(RadGrid1);
            }
            cn.Close();


How can i get the Parent datakey to be able to insert that parameter within my dynamically generated sqldatasource.....Is it possible to have this done using radgrid control?? I know i can use the Tree View control but I the requirements fit the rad grid one.

Thks in advance
Tsvetoslav
Telerik team
 answered on 07 Feb 2012
1 answer
94 views
Hi, I am referring to this online demo for adding of usercontrols to radmultipage dynamically.
http://demos.telerik.com/aspnet-ajax/tabstrip/examples/applicationscenarios/dynamicpageview/defaultcs.aspx 

here the control path is saved in radpageview id property, but in my case control path could be long, so I don't want to save it in ID field. Is there any other property I can use.

I tried using Attribute collection, but I am getting that collection as empty in 
RadMultiPage1_PageViewCreated
Kate
Telerik team
 answered on 07 Feb 2012
1 answer
84 views
I have been trying to use the Visual Style Builder for the last 2 days to no avail. I build a new skin called "TEST", select Grid, and base it on the "Vista" skin. Any changes I make using the Colorize functionality works as expected, and saves the skin fine. The downloaded file works in any projects I use it in. However, if I try to fine tune the skin any changes I make cannot be saved. I get a pop up message that says (also see attached screenshot):

"Skin Update Failed! A server error has occurred. We have been notified and will try to resolve it ASAP. Sorry for the inconvenience."

I have reproduced this on the most recent versions of Firefox, Chrome, Safari, and IE9. BTW, IE9 doesn't give me the option to remove images or indicate that any are being used.

Since I hadn't seen a post on this, I figured I'd mention it...



Galin
Telerik team
 answered on 07 Feb 2012
2 answers
65 views
Hello Every One,

I am Working in one project in 2005 in asp controls now i change to Rad Controls ,
I Got The Error Like That  See The image.
This My Web.config file
<?xml version="1.0"?>
    <configSections>
        <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
            <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
                <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
                <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
                    <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"/>
                    <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
                    <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
                </sectionGroup>
            </sectionGroup>
        </sectionGroup>
    </configSections>
    <system.web>
        <pages>
            <controls>
                <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>
                <add tagPrefix="TBSUC" tagName="LeftPane" src="~/Shared/LeftSidePane.ascx"/>
                <add tagPrefix="TBFA" tagName="FileAttach" src="~/Views/Shared/FileAttachment.ascx"/>
                <add tagPrefix="TBSUCTictet" tagName="TicketLeftPane" src="~/Shared/TicketLeftSidePane.ascx"/>
                <add tagPrefix="TBChange" tagName="ChangeLeftPane" src="~/Shared/ChangeLeftSidePane.ascx"/>
            </controls>
        </pages>
        <identity impersonate="true"/>
        <siteMap>
            <providers>
                <add name="mastermap" type="System.Web.XmlSiteMapProvider" siteMapFile="Web.sitemap"/>
                <add name="transactionmap" type="System.Web.XmlSiteMapProvider" siteMapFile="Web2.sitemap"/>
            </providers>
        </siteMap>
        <!--
          Set compilation debug="true" to insert debugging
          symbols into the compiled page. Because this
          affects performance, set this value to true only
          during development.
    -->
        <compilation debug="true">
            <assemblies>
                <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                <add assembly="System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
                <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                <add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                <add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
                <add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
                <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                <add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                <add assembly="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
                <add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                <add assembly="CrystalDecisions.ReportSource, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                <add assembly="CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                <add assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                <add assembly="CrystalDecisions.Enterprise.Framework, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
                <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies>
        </compilation>
        <httpHandlers>
            <remove verb="*" path="*.asmx"/>
            <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
            <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
            <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"/>
            <add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
            <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
        </httpHandlers>
        <httpModules>
            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
        </httpModules>
    </system.web>
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
        <modules>
            <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
        </modules>
        <handlers>
            <remove name="WebServiceHandlerFactory-Integrated"/>
            <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
            <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
            <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="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource"/>
        </handlers>
    </system.webServer>
    <connectionStrings>
        <add name="locconvisual" connectionString="Data Source=192.168.1.24;Initial Catalog=PAYROLL;User ID=sa;Password=newgene100;Connection Timeout=90; " providerName="System.Data.SqlClient"/>
        <add name="locconcoding" connectionString="Data Source=192.168.1.24;Initial Catalog=PAYROLL;USER ID=sa;password=newgene100;"/>
    </connectionStrings>
    <!-- Web.Config Configuration File -->
    <system.web>
        <customErrors mode="Off"/>
    </system.web>
    <location allowOverride="true" inheritInChildApplications="true">
        <appSettings>
            <add key="CrystalImageCleaner-AutoStart" value="true"/>
            <add key="CrystalImageCleaner-Sleep" value="60000"/>
            <add key="CrystalImageCleaner-Age" value="120000"/>
        </appSettings>
    </location>
</configuration>





Thanks,
Mohamed
mohamed
Top achievements
Rank 1
 answered on 07 Feb 2012
2 answers
136 views
i had provided some styles for treeview highlighting, so that the entire node remains selected, instead of the text itself. But as the horizontal scrollbar starts coming in the tree, the highlighting doesnt take the entire treeview expanded width. I have attached an image of the same. The image has two images aligned horizontally, which depicts the mouse over effect when the scrollbar appears in the treeview and when u are some levels deep. I am also pasting a aspx code for the same. 
Can you please let me know where I am going wrong or missing anything ?



<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        /*
Navigation Pane Style
*/
        
        /* PANEL BAR*/
        
        .navigationPaneHeader
        {
            background-color: #CFCFCF;
            height: 20px;
            width: 100%;
            text-indent: 9px;
            color: Black;
            font: 12px Arial;
            font-weight: bold;
        }
        .searchPaneHeader
        {
            background-color: #CFCFCF;
            height: 20px;
            width: 100%;
            color: Black;
            text-indent: 9px;
            font: 12px Arial;
            font-weight: bold;
            margin: 0px;
            border-bottom-width: 2px;
            border-bottom-color: Red;
        }
        .rtUL .rtLines
        {
            width: 500px;
        }
        .RadPanelBar_Default
        {
            background: #fff;
        }
        
        div.RadPanelBar .rpImage
        {
            padding-right: 3px;
            padding-bottom: 3px;
            padding-left: 3px;
            padding-top: 0px;
            vertical-align: top;
            float: left;
        }
        
        
        div.RadPanelBar .rpText
        {
            margin-top: 5px;
            padding-top: 3px;
            font-size: 11px;
            font-family: Arial;
        }
        
        .RadPanelBar_Default .rpRootGroup
        {
            border-color: #EEEEEE;
        }
        
        .RadPanelBar_Default a.rpLink, .RadPanelBar_Default div.rpHeaderTemplate, .RadPanelBar_Default .rpTemplate
        {
            color: #000000;
            font: normal 13px Arial;
        }
        
        .RadPanelBar_Default div.rpHeaderTemplate, .RadPanelBar_Default a.rpLink
        {
            background-color: #EFEBEF;
            border-color: #C0C0C0;
            text-indent: 5px;
            height: 30px;
        }
        
        .RadPanelBar_Default .rpOut
        {
            border-color: #EFEBEF;
        }
        
        
        .RadPanelBar_Default a.rpLink:hover
        {
            color: #000;
            background-color: #F7DFA7;
            border-color: #ff9b35;
        }
        
        .RadPanelBar_Default a.rpFocused, .RadPanelBar_Default a.rpExpanded, .RadPanelBar_Default a.rpSelected, .RadPanelBar_Default div.rpFocused, .RadPanelBar_Default div.rpExpanded, .RadPanelBar_Default div.rpSelected, .RadPanelBar_Default a.rpSelected:hover
        {
            background-color: #F7DFA7;
            border-color: #ff9b35;
            height: 30px;
        }
        
        /* END PANEL BAR*/
        
        /* TREE VIEW CONTROL */
        div.RadTreeView:focus
        {
            outline: none;
        }
        div.RadTreeView .rtSp
        {
            height: 14px;
        }
        
        div.RadTreeView .rtPlus
        {
            height: 11px;
            width: 11px;
            margin-top: 3px;
            vertical-align: top;
            display: inline-block;
            cursor: pointer;
            background-repeat: no-repeat;
        }
        div.RadTreeView .rtHover .rtIn, div.RadTreeView .rtSelected .rtIn
        {
            background-position: 0px 0px;
            padding: 3px 3px 0px 3px;
            border-style: none;
            background-repeat: repeat-x;
        }
        .RadTreeView_Default .rtLoadingIcon
        {
            background-image: url('../Images/LoadingIcon.gif');
        }
        
        
        .RadTreeView_Default .rtLines .rtTop, .RadTreeView_Default .rtLines .rtMid, .RadTreeView_Default .rtLines .rtBot, .RadTreeView_Default .rtLines .rtLast .rtTop, .RadTreeView_Default .rtLines .rtFirst, .RadTreeView_Default .rtLines .rtFirst .rtUL, .RadTreeView_Default .rtLines .rtLI, .RadTreeView_Default .rtLines .rtFirst .rtUL
        {
            margin-top: 1px;
            margin-bottom: 1px;
            font-size: 11px;
        }
        
        .RadTreeView_Default .pluginHeaderNode
        {
            background-color: #F7F7F7;
            font-family: Arial;
            line-height: 15px;
            vertical-align: middle;
            height: 18px;
            margin-top: 1px;
            margin-bottom: 1px;
            font-weight: bold;
            color: #625A5A;
        }
        .RadTreeView_Default
        {
            color: #000000;
            font: 12px Arial;
            padding: 0px 1px 0px;
        }
        
        div.RadTreeView .rtIn
        {
            vertical-align: top;
            padding-bottom: 0px;
        }
        .RadTreeView_Default .rtPlus, .RadTreeView_Default .rtMinus
        {
            margin: 0px;
            background-image: url('../images/PlusMinus.png');
        }
        
        .RadTreeView_Default .rtSelected
        {
            border: 0;
            background-color: #fcdb89;
        }
        
        .RadTreeView_Default .rtSelected .rtLoadingBefore, .RadTreeView_Default .rtSelected .rtLoadingAfter, .RadTreeView_Default .rtSelected .rtLoadingBelow
        {
            color: #333;
        }
        .RadTreeView_Default .rtTop:hover, .RadTreeView_Default .rtMid:hover, .RadTreeView_Default .rtBot:hover
        {
            border-color: #a79d87 #b89f73;
            background-color: #FFE086;
        }
        .RadTreeView .rtLI
        {
            padding-bottom: 0px;
        }
        .RadTreeView .rtUL .rtUL
        {
            margin-top: 0px;
        }
        .RadTreeView .rtLast
        {
            padding-bottom: 0; /* prevent double-spacing */
        }
        /* END TREE VIEW CONTROL */
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js">
            </asp:ScriptReference>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js">
            </asp:ScriptReference>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js">
            </asp:ScriptReference>
        </Scripts>
    </telerik:RadScriptManager>
    <div>
        <telerik:RadSplitter VisibleDuringInit="false" ID="RadSplitter1" runat="server" BorderWidth="0"
            Height="100%" Width="100%">
            <telerik:RadPane BorderWidth="0" ID="LeftPane" runat="server" Width="200" Scrolling="None"
                MinWidth="200" Height="100%">
                <telerik:RadSplitter ID="RadSplitter4" runat="server" BorderWidth="0" Height="100%"
                    Width="100%" Orientation="Horizontal">
                    <telerik:RadPane ID="navigationHostRadPane" BorderWidth="0" runat="server" Scrolling="None">
                        <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" Height="100%"
                            Width="100%">
                            <telerik:RadPageView Height="100%" Width="100%" ID="RadPageView1" runat="server"
                                Style="border-style: none">
                                <telerik:RadSplitter ID="nestedSplitter" ResizeWithParentPane="false" Width="100%"
                                    Orientation="Horizontal" Height="100%" runat="server">
                                    <telerik:RadPane ID="headerPane" runat="server" Height="20px">
                                        <div class="navigationPaneHeader">
                                            Header 1</div>
                                    </telerik:RadPane>
                                    <telerik:RadPane ID="treeViewPane" runat="server">
                                        <telerik:RadTreeView ID="RadTreeView1" runat="server">
                                            <Nodes>
                                                <telerik:RadTreeNode Text="Tree Node 1">
                                                    <Nodes>
                                                        <telerik:RadTreeNode Text="Tree Node 1.1">
                                                            <Nodes>
                                                                <telerik:RadTreeNode Text="Tree Node 1.1">
                                                                    <Nodes>
                                                                        <telerik:RadTreeNode Text="Tree Node 1.1">
                                                                            <Nodes>
                                                                                <telerik:RadTreeNode Text="Tree Node 1.1">
                                                                                    <Nodes>
                                                                                        <telerik:RadTreeNode Text="Tree Node 1.1">
                                                                                            <Nodes>
                                                                                                <telerik:RadTreeNode Text="Tree Node 1.1">
                                                                                                    <Nodes>
                                                                                                        <telerik:RadTreeNode Text="Tree Node 1.1">
                                                                                                            <Nodes>
                                                                                                                <telerik:RadTreeNode Text="Tree Node 1.1">
                                                                                                                    <Nodes>
                                                                                                                        <telerik:RadTreeNode Text="Tree Node 1.1">
                                                                                                                        </telerik:RadTreeNode>
                                                                                                                    </Nodes>
                                                                                                                </telerik:RadTreeNode>
                                                                                                            </Nodes>
                                                                                                        </telerik:RadTreeNode>
                                                                                                    </Nodes>
                                                                                                </telerik:RadTreeNode>
                                                                                            </Nodes>
                                                                                        </telerik:RadTreeNode>
                                                                                    </Nodes>
                                                                                </telerik:RadTreeNode>
                                                                            </Nodes>
                                                                        </telerik:RadTreeNode>
                                                                    </Nodes>
                                                                </telerik:RadTreeNode>
                                                            </Nodes>
                                                        </telerik:RadTreeNode>
                                                    </Nodes>
                                                </telerik:RadTreeNode>
                                                <telerik:RadTreeNode Text="Tree Node 2" />
                                                <telerik:RadTreeNode Text="Tree Node 3" />
                                                <telerik:RadTreeNode Text="Tree Node 4" />
                                                <telerik:RadTreeNode Text="Tree Node 5" />
                                            </Nodes>
                                        </telerik:RadTreeView>
                                    </telerik:RadPane>
                                </telerik:RadSplitter>
                            </telerik:RadPageView>
                            <telerik:RadPageView ID="RadPageView4" runat="server">
                                <div class="navigationPaneHeader">
                                    Header 2</div>
                            </telerik:RadPageView>
                        </telerik:RadMultiPage>
                    </telerik:RadPane>
                    <telerik:RadSplitBar runat="server" CollapseMode="Backward" EnableResize="false"
                        ID="navigationPaneSplitBar">
                    </telerik:RadSplitBar>
                    <telerik:RadPane ID="navigationRadPane" runat="server" Height="125px" Scrolling="None">
                        <telerik:RadPanelBar ID="NavigationItems" runat="server" ExpandMode="FullExpandedItem"
                            Visible="true" AccessKey="N" Height="100%" Width="100%" EnableEmbeddedSkins="false"
                            Skin="Default">
                        </telerik:RadPanelBar>
                    </telerik:RadPane>
                </telerik:RadSplitter>
            </telerik:RadPane>
            <telerik:RadSplitBar ID="RadSplitBar2" runat="server" CollapseMode="Forward" />
            <telerik:RadPane ID="MainPane" runat="server" Scrolling="None" MinWidth="600">
                <telerik:RadSplitter ID="RadSplitter2" runat="server" Orientation="Horizontal">
                    <telerik:RadPane ID="RadPane2" runat="server" Height="15%" MaxHeight="300">
                        <div>
                            Test
                        </div>
                    </telerik:RadPane>
                    <telerik:RadSplitBar ID="RadSplitBar1" runat="server" CollapseMode="Forward" />
                    <telerik:RadPane ID="RadPane1" runat="server" Scrolling="None">
                        <asp:UpdatePanel ID="UpdatePanel2" UpdateMode="Conditional" runat="server">
                            <ContentTemplate>
                                <asp:Panel ID="ResultReadingPane" runat="server">
                                    <telerik:RadSplitter ID="RadSplitter3" runat="server" Orientation="Vertical" CssClass="SplitterResultsReading"
                                        Width="100%">
                                        <telerik:RadPane ID="RadPane3" runat="server" MinWidth="300" Scrolling="None">
                                        </telerik:RadPane>
                                        <telerik:RadSplitBar ID="RadSplitBar4" runat="server" CollapseMode="Backward" />
                                        <telerik:RadPane ID="ReadingPanel" runat="server" Scrolling="Both" MinWidth="300"
                                            ClientIDMode="Static">
                                        </telerik:RadPane>
                                    </telerik:RadSplitter>
                                </asp:Panel>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </telerik:RadPane>
                </telerik:RadSplitter>
            </telerik:RadPane>
        </telerik:RadSplitter>
    </div>
    </form>
</body>
</html>

Ivan Zhekov
Telerik team
 answered on 07 Feb 2012
5 answers
159 views
combobox SelectedIndexChanged event not fired intially when i ajaxify that control for showing progressbar ,but it fired when click another combobox in same page(after progressbar stoped) so plz help me


thanks in advance
Chalam
Top achievements
Rank 1
 answered on 07 Feb 2012
1 answer
91 views
I have inherited a project that uses the Telerik controls.  While waiting on my license to come in, I went out and downloaded and installed the trial version.  Once the developer version was bought, I didn't see any instructions so I just installed the developer version.  I had issues so I finally uninstalled the both and reinstalled the professional version.
Here is what is happening The first time I try to put a control on the page after starting up VS 2010, it tells me there is already a version of the dll in the bin folder.  I say I don't want to do anything.  Then when I try to go in design mode, I see an error that looks like the is a dll version issue between the toolbox and the dll in the bnn and I can't go in design mode. If I answer yes, It looks like it overwrites the dll in the bin folder and then I get error messages saying that it can't find the sunset skin. It doesn't go away until I overwrite the bin directory with the update files.  Can someone tell me what is going wrong here?
Petar
Telerik team
 answered on 07 Feb 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?