Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
278 views
I have a grid and i have another grid nested on it (im using nestedviewtemplate)
how do I get the value of a column in if it is nested?

how do i call it in c#?

Radgrid1 -topmost
mastertableview
  Nestedviewtemplate   
   Radgrid2 --> meeting_notes_txt(column)
    mastertableview

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="MeetingDetails.ascx.cs" Inherits="Components_Controls_MeetingDetails" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<style type="text/css">
.notVisible{display:none;}
</style>
<asp:SqlDataSource ID="SqlDSProjectMeetings" runat="server"
    ConnectionString="<%$ ConnectionStrings:MeetWebStyleConnectionString %>"
    SelectCommand="MWS_Meetings_GetByProject_id"
    SelectCommandType="StoredProcedure">
    <SelectParameters>
        <asp:QueryStringParameter DefaultValue="2" Name="Project_id"
            QueryStringField="project_id" Type="Int32" />
    </SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="SqlDSMeetingNotes" runat="server"
    ConnectionString="<%$ ConnectionStrings:MeetWebStyleConnectionString %>"
    SelectCommand="MWS_Meeting_notes_GetByMeeting_id"
    SelectCommandType="StoredProcedure"
    onselecting="SqlDSMeetingNotes_Selecting">
    <SelectParameters>
        <asp:ControlParameter ControlID="RadGrid1" Name="Meeting_id"
            PropertyName="SelectedValue" Type="Int32" />
    </SelectParameters>
</asp:SqlDataSource>

<telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
</telerik:RadScriptManager>

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadGrid1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

<asp:SqlDataSource ID="SqlDSMeetingAgenda" runat="server"
    ConnectionString="<%$ ConnectionStrings:MeetWebStyleConnectionString %>"
    SelectCommand="MWS_Meeting_agenda_GetByMeeting_id"
    SelectCommandType="StoredProcedure">
    <SelectParameters>
        <asp:ControlParameter ControlID="RadGrid1" DefaultValue="" Name="Meetings_id"
            PropertyName="SelectedValue" Type="Int32" />
    </SelectParameters>
</asp:SqlDataSource>
<telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
</telerik:RadScriptBlock>
<telerik:RadGrid ID="RadGrid1" runat="server"
    DataSourceID="SqlDSProjectMeetings" GridLines="None"
    onneeddatasource="RadGrid1_NeedDataSource">
<MasterTableView datasourceid="SqlDSProjectMeetings" datakeynames="meetings_id"
        HorizontalAlign="NotSet" AllowPaging="True">
 
   
   
<NestedViewTemplate>

<fieldset style="padding:10px; azimuth:far-left; size:landscape; width:90%;">
    <legend style="padding:5px;"><b>Sub Menu</b>  

    <fieldset style="padding:10px; size:portrait; width:30%;">
        <legend style="padding:5px;"><b>Meetings Notes</b>
            <asp:Label ID="Label1" Font-Bold="true" Font-Italic="true" Text='<%# Eval("meetings_id") %>' Visible="false" runat="server" />
        </legend>
   
   <asp:SqlDataSource ID="SqlDSMeetingNotes" runat="server"
        ConnectionString="<%$ ConnectionStrings:MeetWebStyleConnectionString %>"
        SelectCommand="MWS_Meeting_notes_GetByMeeting_id"
        SelectCommandType="StoredProcedure"
        onselecting="SqlDSMeetingNotes_Selecting">
     
        <SelectParameters>
           
            <asp:ControlParameter ControlID="Label1" PropertyName="Text" Type="String" Name="meeting_id" />
           
        </SelectParameters>
       

    </asp:SqlDataSource>
                              
 
    <telerik:RadGrid ID="RAD1" DataSourceID="SqlDSMeetingNotes"   HeaderStyle-CssClass="notVisible"
     AutoGenerateColumns="false" runat="server">
    <MasterTableView>
    <GroupHeaderItemStyle CssClass="notVisible" />
    <HeaderStyle CssClass="notVisible " />
    <Columns>
        <telerik:GridBoundColumn DataField="meeting_note_text"  UniqueName="Discussion"
         FooterText="Discussion">
         </telerik:GridBoundColumn>
    </Columns>
   
   
    </MasterTableView>
     </telerik:RadGrid>
   
   
    </fieldset>
</NestedViewTemplate>
   
    <RowIndicatorColumn Visible="False"><HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn><ExpandCollapseColumn Resizable="False"><HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
    <Columns>
        <telerik:GridTemplateColumn UniqueName="TemplateColumn">
            <HeaderStyle Width="2cm" />
        </telerik:GridTemplateColumn>
    </Columns>
    <EditFormSettings><PopUpSettings ScrollBars="None"></PopUpSettings>
</EditFormSettings>
</MasterTableView></telerik:RadGrid>
Princy
Top achievements
Rank 2
 answered on 05 Aug 2008
3 answers
118 views
I have 5 RadComboBoxes (RCB) that are set to AutoPostBack and are all tied to individual ObjectDataSources.  I have subroutines for each SelectedIndexChanged that will bind the next RCB to it's ObjectDataSource.  I also have subroutines for each DataBound that will a) automatically select option #2 if there are only 2 options, and b) call the SelectedIndexChanged for the RCB so the next RCB can be bound to its data.

The process goes like this:  the first RCB is bound and the other 4 are disabled.  When the user select from the first RCB, it's posted back and the second RCB is filled.  The user then selects from the second RCB and after postback the third RCB is filled.  The user then selects from the third RCB and now the fourth RCB is filled.  Hoever, at this point the code looks and notices that there are only 2 options, so it selects the 2nd and calls the SelectedIndexChanged (as if the user clicked it) and fills the 5th RCB.

What I get in the end is twice as much data in the 5th RCB as expected.  For example, if the ObjectDataSource really returns 1 result, I see 2 options in the 5th RCB.  And if it returns 2 results, I see 4 options in the RCB.

I can place breakpoints on the DataBound and SelectedIndexChanged and I notice that the DataBound subroutine gets hit twice...the second time for no apparent reason.

I added some debugging code in RCB5.ItemCreated and found that if the ObjectDataSource returned 3 items, this subroutine would only be hit twice.  Likewise if it returned 2 times, this subroutine would only be hit once.

Can anyone shed some light on this?  If I need to clarify anything please let me know.

Thanks!
Simon
Telerik team
 answered on 05 Aug 2008
1 answer
49 views
hi all,
After i implemented the example "Ecternal Edit in RadDock", i am not able to select tab in the RadTabStrip. When i select a tab, it doesn't display the corresponding multipage. If i remove the example of sheduler, everything returns to normal.

regards,
chun
T. Tsonev
Telerik team
 answered on 05 Aug 2008
5 answers
179 views
So far this issue observed only IE6.
Sometimes editor loads with toolbars completely screwed up. It looks like first row of icons is loading properly, while second and thrid decided to go vertically. Buttons themselves are working fine but appear completely out of place.
This issue randomly fixes itself and comes back when page is refreshed.
Page that contains editor has absolutely nothing but single radeditor on it and is loading in an iframe.
Tools are loaded from an XML file.

Unfortunately I don't see option to attach screenshot here...
Rumen
Telerik team
 answered on 05 Aug 2008
7 answers
393 views

namespace C21.Webparts  
{  
    public class Usercontrol : WebPart  
    {  
        private string UserCtrlURL;  
 
        [Personalizable(PersonalizationScope.Shared),  
           WebBrowsable(true),  
          System.ComponentModel.Category("UserControl"),  
           WebDisplayName("UserControl page name"),  
          WebDescription("UserControl page name")]  
        public string MyURL  
        {  
            get { return UserCtrlURL; }  
            set { UserCtrlURL = value; }  
        }  
 
        protected override void CreateChildControls()  
        {  
            base.CreateChildControls();  
            Label ErrorTxt = new Label();  
            Controls.Clear();   
            //Controls.Add(Page.LoadControl("~/_layouts/21online/usercontrols/banners.ascx"));  
            try  
            {  
                if (MyURL.Length > 0)  
                    Controls.Add(Page.LoadControl(ConfigurationManager.AppSettings["UserControlsDir"] + MyURL));  
            }  
            catch (Exception ex)  
            {  
                ErrorTxt.Text=ex.Message;  
                Controls.Add(ErrorTxt);  
            }  
        }  
        public override void RenderControl(HtmlTextWriter output)  
        {  
            EnsureChildControls();  
            RenderChildren(output);  
        }  
    }  


Exception Details: System.InvalidOperationException: Script controls may not be registered before PreRender.  
 
Source Error:   
 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.    
 
Stack Trace:   
 
 
[InvalidOperationException: Script controls may not be registered before PreRender.]  
   System.Web.UI.ScriptControlManager.RegisterScriptControl(TScriptControl scriptControl) +236  
   System.Web.UI.ScriptManager.RegisterScriptControl(TScriptControl scriptControl) +99  
   Telerik.Web.UI.RadWebControl.RegisterScriptControl() +41  
   Telerik.Web.UI.RadDockZone.OnPreRender(EventArgs e) +245  
   System.Web.UI.Control.PreRenderRecursiveInternal() +77  
   System.Web.UI.Control.PreRenderRecursiveInternal() +161  
   System.Web.UI.Control.PreRenderRecursiveInternal() +161  
   System.Web.UI.Control.PreRenderRecursiveInternal() +161  
   System.Web.UI.WebControls.WebParts.WebPart.PreRenderRecursiveInternal() +62  
   System.Web.UI.Control.PreRenderRecursiveInternal() +161  
   System.Web.UI.Control.PreRenderRecursiveInternal() +161  
   System.Web.UI.Control.PreRenderRecursiveInternal() +161  
   System.Web.UI.Control.PreRenderRecursiveInternal() +161  
   System.Web.UI.Control.PreRenderRecursiveInternal() +161  
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360  
 
   
 
  
i installed ajax 1.0 and then the version 2008.1.619.20 of telerik on a server running wss 3.0 and then changed the web.config based on the documentation on "integrating Radcontrols in MOSS" section.

copied the Telerik.Web.UI.dll and telerik.charting.dll in the GAC

my webpart acts as a smart part which takes a usercontrol as input and renders it.

my usercontrol has dock objects in them.

here is my web.config file.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>  
<configuration> 
  <configSections> 
    <sectionGroup name="SharePoint">  
      <section name="SafeControls" type="Microsoft.SharePoint.ApplicationRuntime.SafeControlsConfigurationHandler, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 
      <section name="RuntimeFilter" type="System.Configuration.SingleTagSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> 
      <section name="WebPartLimits" type="System.Configuration.SingleTagSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> 
      <section name="WebPartCache" type="System.Configuration.SingleTagSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> 
      <section name="WebPartWorkItem" type="System.Configuration.SingleTagSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> 
      <section name="WebPartControls" type="System.Configuration.SingleTagSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> 
      <section name="SafeMode" type="Microsoft.SharePoint.ApplicationRuntime.SafeModeConfigurationHandler, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 
      <section name="MergedActions" type="System.Configuration.SingleTagSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> 
      <section name="PeoplePickerWildcards" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> 
    </sectionGroup> 
    <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">  
      <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">  
        <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>  
        <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">  
          <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere" /> 
          <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" /> 
          <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication" /> 
        </sectionGroup> 
      </sectionGroup> 
    </sectionGroup>      
    <sectionGroup name="System.Workflow.ComponentModel.WorkflowCompiler" type="System.Workflow.ComponentModel.Compiler.WorkflowCompilerConfigurationSectionGroup, System.Workflow.ComponentModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">  
      <section name="authorizedTypes" type="System.Workflow.ComponentModel.Compiler.AuthorizedTypesSectionHandler, System.Workflow.ComponentModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> 
    </sectionGroup> 
  </configSections> 
  <SharePoint> 
    <SafeMode MaxControls="200" CallStack="true" DirectFileDependencies="10" TotalFileDependencies="50" AllowPageLevelTrace="true">  
      <PageParserPaths> 
      </PageParserPaths> 
    </SafeMode> 
    <WebPartLimits MaxZoneParts="50" PropertySize="1048576" /> 
    <WebPartCache Storage="CacheObject" /> 
    <WebPartControls DatasheetControlGuid="65BCBEE4-7728-41a0-97BE-14E1CAE36AAE" /> 
    <SafeControls> 
      <SafeControl Assembly="System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="System.Web.UI.WebControls" TypeName="*" Safe="True" AllowRemoteDesigner="True" /> 
      <SafeControl Assembly="System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="System.Web.UI.HtmlControls" TypeName="*" Safe="True" AllowRemoteDesigner="True" /> 
      <SafeControl Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="System.Web.UI" TypeName="*" Safe="True" AllowRemoteDesigner="True" /> 
      <SafeControl Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="System.Web.UI.WebControls" TypeName="SqlDataSource" Safe="False" AllowRemoteDesigner="False" /> 
      <SafeControl Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="System.Web.UI.WebControls" TypeName="AccessDataSource" Safe="False" AllowRemoteDesigner="False" /> 
      <SafeControl Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="System.Web.UI.WebControls" TypeName="XmlDataSource" Safe="False" AllowRemoteDesigner="False" /> 
      <SafeControl Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="System.Web.UI.WebControls" TypeName="ObjectDataSource" Safe="False" AllowRemoteDesigner="False" /> 
      <SafeControl Assembly="Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint" TypeName="*" Safe="True" AllowRemoteDesigner="True" /> 
      <SafeControl Assembly="Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.WebPartPages" TypeName="*" Safe="True" AllowRemoteDesigner="True" /> 
      <SafeControl Assembly="Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.WebControls" TypeName="*" Safe="True" AllowRemoteDesigner="True" /> 
      <SafeControl Assembly="Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.ApplicationPages" TypeName="*" Safe="True" AllowRemoteDesigner="True" /> 
      <SafeControl Assembly="Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.SoapServer" TypeName="*" Safe="True" AllowRemoteDesigner="True" /> 
      <SafeControl Assembly="Microsoft.SharePoint, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.Meetings" TypeName="*" Safe="True" AllowRemoteDesigner="True" /> 
      <SafeControl Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint" TypeName="*" Safe="True" AllowRemoteDesigner="True" /> 
      <SafeControl Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.WebPartPages" TypeName="*" Safe="True" AllowRemoteDesigner="True" /> 
      <SafeControl Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.WebControls" TypeName="*" Safe="True" AllowRemoteDesigner="True" /> 
      <SafeControl Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.ApplicationPages" TypeName="*" Safe="True" AllowRemoteDesigner="True" /> 
      <SafeControl Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.SoapServer" TypeName="*" Safe="True" AllowRemoteDesigner="True" /> 
      <SafeControl Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.Meetings" TypeName="*" Safe="True" AllowRemoteDesigner="True" /> 
      <SafeControl Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.Workflow" TypeName="*" Safe="True" AllowRemoteDesigner="True" /> 
      <SafeControl Assembly="Microsoft.SharePoint.Search, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.Search.WebControls" TypeName="*" Safe="True" AllowRemoteDesigner="True" /> 
      <SafeControl Assembly="Microsoft.SharePoint.Search, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.Search.Internal.WebControls" TypeName="*" Safe="True" AllowRemoteDesigner="True" /> 
      <SafeControl Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TypeName="*" Safe="True" />        
      <SafeControl Src="~/_controltemplates/*" IncludeSubFolders="True" Safe="True" AllowRemoteDesigner="True" /> 
      <SafeControl Src="/App.21online/usercontrols/*" IncludeSubFolders="True" Safe="True" AllowRemoteDesigner="True" /> 
      <SafeControl Assembly="C21.Webparts, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f737ac8a922be0c0" Namespace="C21.Webparts" TypeName="*" Safe="True" AllowRemoteDesigner="True" /> 
      <SafeControl Assembly="Telerik.Web.UI, Version=2008.1.619.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True" AllowRemoteDesigner="false" /> 
      <SafeControl Assembly="Telerik.Web.UI, Version=2008.1.619.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.Design" TypeName="*" Safe="True" AllowRemoteDesigner="false" /> 
    </SafeControls> 
    <PeoplePickerWildcards> 
      <clear /> 
      <add key="AspNetSqlMembershipProvider" value="%" /> 
    </PeoplePickerWildcards> 
  </SharePoint> 
 
  <system.web> 
    <securityPolicy> 
      <trustLevel name="WSS_Medium" policyFile="C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\config\wss_mediumtrust.config" /> 
      <trustLevel name="WSS_Minimal" policyFile="C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\config\wss_minimaltrust.config" /> 
    </securityPolicy> 
    <httpHandlers> 
      <remove verb="GET,HEAD,POST" path="*" /> 
      <add verb="GET,HEAD,POST" path="*" type="Microsoft.SharePoint.ApplicationRuntime.SPHttpHandler, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 
      <add verb="OPTIONS,PROPFIND,PUT,LOCK,UNLOCK,MOVE,COPY,GETLIB,PROPPATCH,MKCOL,DELETE,(GETSOURCE),(HEADSOURCE),(POSTSOURCE)" path="*" type="Microsoft.SharePoint.ApplicationRuntime.SPHttpHandler, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>  
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>  
      <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>        
    </httpHandlers> 
    <customErrors mode="RemoteOnly"></customErrors> 
    <httpRuntime maxRequestLength="51200" /> 
    <authentication mode="Windows" /> 
    <identity impersonate="true" /> 
    <authorization> 
      <allow users="*" /> 
    </authorization> 
    <httpModules> 
      <clear /> 
      <add name="SPRequest" type="Microsoft.SharePoint.ApplicationRuntime.SPRequestModule, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 
      <add name="OutputCache" type="System.Web.Caching.OutputCacheModule" /> 
      <add name="FormsAuthentication" type="System.Web.Security.FormsAuthenticationModule" /> 
      <add name="UrlAuthorization" type="System.Web.Security.UrlAuthorizationModule" /> 
      <add name="WindowsAuthentication" type="System.Web.Security.WindowsAuthenticationModule" /> 
      <add name="RoleManager" type="System.Web.Security.RoleManagerModule" /> 
      <add name="Session" type="System.Web.SessionState.SessionStateModule"/>  
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>        
    </httpModules> 
    <globalization fileEncoding="utf-8" /> 
    <compilation batch="false" debug="false">  
      <assemblies> 
        <add assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 
        <add assembly="System.Web.Extensions, Version=1.0.61025.0,Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>          
      </assemblies> 
      <expressionBuilders> 
        <remove expressionPrefix="Resources" /> 
        <add expressionPrefix="Resources" type="Microsoft.SharePoint.SPResourceExpressionBuilder, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 
        <add expressionPrefix="SPHtmlEncodedResources" type="Microsoft.SharePoint.SPHtmlEncodedResourceExpressionBuilder, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 
        <add expressionPrefix="SPSimpleFormattingEncodedResources" type="Microsoft.SharePoint.SPSimpleFormattingEncodedResourceExpressionBuilder, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 
      </expressionBuilders> 
    </compilation> 
    <pages enableSessionState="true" enableViewState="true" enableViewStateMac="true" validateRequest="false" pageParserFilterType="Microsoft.SharePoint.ApplicationRuntime.SPPageParserFilter, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" asyncTimeout="7">  
      <namespaces> 
        <remove namespace="System.Web.UI.WebControls.WebParts" /> 
      </namespaces> 
      <controls> 
        <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> 
      </controls>        
      <tagMapping> 
        <add tagType="System.Web.UI.WebControls.SqlDataSource, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" mappedTagType="Microsoft.SharePoint.WebControls.SPSqlDataSource, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 
      </tagMapping> 
    </pages> 
    <siteMap defaultProvider="SPSiteMapProvider" enabled="true">  
      <providers> 
        <add name="SPNavigationProvider" type="Microsoft.SharePoint.Navigation.SPNavigationProvider, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 
        <add name="SPSiteMapProvider" type="Microsoft.SharePoint.Navigation.SPSiteMapProvider, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 
        <add name="SPContentMapProvider" type="Microsoft.SharePoint.Navigation.SPContentMapProvider, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 
        <add name="SPXmlContentMapProvider" siteMapFile="_app_bin/layouts.sitemap" type="Microsoft.SharePoint.Navigation.SPXmlContentMapProvider, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 
      </providers> 
    </siteMap> 
    <trust level="Full"  originUrl="" /> 
    <webParts> 
      <transformers> 
        <add name="TransformableFilterValuesToFilterValuesTransformer" type="Microsoft.SharePoint.WebPartPages.TransformableFilterValuesToFilterValuesTransformer, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 
        <add name="TransformableFilterValuesToParametersTransformer" type="Microsoft.SharePoint.WebPartPages.TransformableFilterValuesToParametersTransformer, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 
        <add name="TransformableFilterValuesToFieldTransformer" type="Microsoft.SharePoint.WebPartPages.TransformableFilterValuesToFieldTransformer, Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /> 
      </transformers> 
    </webParts> 
    <machineKey validationKey="7843910E7386CBDE22313A0F312BB78A735C6886F2C73FB5" decryptionKey="44EA22872E6770002B2F6B0E9993ECE7742A414E6D9C9C60" validation="SHA1" /> 
  </system.web> 
  <appSettings> 
    <add key="UserControlsDir" value="/App.21online/usercontrols/" /> 
    <add key="C21SiteName" value="http://sp-tanuj.grafica.com" /> 
    <add key="C21ContentSite" value="Test" /> 
    <add key="C21PageContent" value="CompleteList" /> 
    <add key="C21RelatedDocs" value="RelatedDocuments" /> 
    <add key="C21RelatedLinks" value="RelatedLinks" /> 
  </appSettings>    
  <runtime> 
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">  
      <dependentAssembly> 
        <assemblyIdentity name="Microsoft.SharePoint" publicKeyToken="71e9bce111e9429c" culture="neutral" /> 
        <bindingRedirect oldVersion="11.0.0.0" newVersion="12.0.0.0" /> 
      </dependentAssembly> 
      <dependentAssembly> 
        <assemblyIdentity name="Microsoft.SharePoint.Dsp" publicKeyToken="71e9bce111e9429c" culture="neutral" /> 
        <bindingRedirect oldVersion="11.0.0.0" newVersion="12.0.0.0" /> 
      </dependentAssembly> 
      <dependentAssembly> 
        <assemblyIdentity name="Microsoft.SharePoint.Dsp.OleDb" publicKeyToken="71e9bce111e9429c" culture="neutral" /> 
        <bindingRedirect oldVersion="11.0.0.0" newVersion="12.0.0.0" /> 
      </dependentAssembly> 
      <dependentAssembly> 
        <assemblyIdentity name="Microsoft.SharePoint.Dsp.SoapPT" publicKeyToken="71e9bce111e9429c" culture="neutral" /> 
        <bindingRedirect oldVersion="11.0.0.0" newVersion="12.0.0.0" /> 
      </dependentAssembly> 
      <dependentAssembly> 
        <assemblyIdentity name="Microsoft.SharePoint.Dsp.Sts" publicKeyToken="71e9bce111e9429c" culture="neutral" /> 
        <bindingRedirect oldVersion="11.0.0.0" newVersion="12.0.0.0" /> 
      </dependentAssembly> 
      <dependentAssembly> 
        <assemblyIdentity name="Microsoft.SharePoint.Dsp.XmlUrl" publicKeyToken="71e9bce111e9429c" culture="neutral" /> 
        <bindingRedirect oldVersion="11.0.0.0" newVersion="12.0.0.0" /> 
      </dependentAssembly> 
      <dependentAssembly> 
        <assemblyIdentity name="Microsoft.SharePoint.intl" publicKeyToken="71e9bce111e9429c" culture="neutral" /> 
        <bindingRedirect oldVersion="11.0.0.0" newVersion="12.0.0.0" /> 
      </dependentAssembly> 
      <dependentAssembly> 
        <assemblyIdentity name="Microsoft.SharePoint.Library" publicKeyToken="71e9bce111e9429c" culture="neutral" /> 
        <bindingRedirect oldVersion="11.0.0.0" newVersion="12.0.0.0" /> 
      </dependentAssembly> 
      <dependentAssembly> 
        <assemblyIdentity name="Microsoft.SharePoint.Security" publicKeyToken="71e9bce111e9429c" culture="neutral" /> 
        <bindingRedirect oldVersion="11.0.0.0" newVersion="12.0.0.0" /> 
      </dependentAssembly> 
      <probing privatePath="bin;_app_bin" /> 
    </assemblyBinding> 
  </runtime> 
  <location path="_layouts/images">  
    <system.web> 
      <authorization> 
        <allow users="*" /> 
      </authorization> 
    </system.web> 
  </location> 
  <location path="_layouts/mobile/mbllogin.aspx">  
    <system.web> 
      <authorization> 
        <allow users="*" /> 
      </authorization> 
    </system.web> 
  </location> 
  <System.Workflow.ComponentModel.WorkflowCompiler> 
    <authorizedTypes> 
      <authorizedType Assembly="System.Workflow.Activities, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Workflow.*" TypeName="*" Authorized="True" /> 
      <authorizedType Assembly="System.Workflow.ComponentModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Workflow.*" TypeName="*" Authorized="True" /> 
      <authorizedType Assembly="System.Workflow.Runtime, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Workflow.*" TypeName="*" Authorized="True" /> 
      <authorizedType Assembly="System.Transactions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Namespace="System*" TypeName="*" Authorized="True" /> 
      <authorizedType Assembly="mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Namespace="System*" TypeName="*" Authorized="True" /> 
      <authorizedType Assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" Namespace="System*" TypeName="*" Authorized="True" /> 
      <authorizedType Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.Workflow" TypeName="SPWorkflowActivationProperties" Authorized="True" /> 
      <authorizedType Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.Workflow" TypeName="SPWorkflowTaskProperties" Authorized="True" /> 
      <authorizedType Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.Workflow" TypeName="SPWorkflowHistoryEventType" Authorized="True" /> 
      <authorizedType Assembly="Microsoft.SharePoint.WorkflowActions, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" Namespace="Microsoft.SharePoint.WorkflowActions" TypeName="*" Authorized="True" /> 
    </authorizedTypes> 
  </System.Workflow.ComponentModel.WorkflowCompiler> 
  <system.web.extensions> 
    <scripting> 
      <webServices> 
        <!-- Uncomment this line to enable the authentication service. Include requireSSL="true" if appropriate. --> 
        <!--
       <authenticationService enabled="true" requireSSL = "true|false"/>
     --> 
        <!-- Uncomment these lines to enable the profile service. To allow profile properties to be retrieved and modified in ASP.NET AJAX applications, you need to add each property name to the readAccessProperties and writeAccessProperties attributes. --> 
        <!--  
     <profileService enabled="true" 
                     readAccessProperties="propertyname1,propertyname2" 
                     writeAccessProperties="propertyname1,propertyname2" /> 
     --> 
      </webServices> 
      <!--
     <scriptResourceHandler enableCompression="true" enableCaching="true" />
     --> 
    </scripting> 
  </system.web.extensions> 
  <system.webServer> 
    <validation validateIntegratedModeConfiguration="false"/>  
    <modules> 
      <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>d  
    </modules> 
    <handlers> 
      <remove name="WebServiceHandlerFactory-Integrated" /> 
      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" 
           type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>  
      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.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=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> 
      <add name="Telerik.Web.UI.WebResource"  path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.1.619.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" /> 
    </handlers> 
  </system.webServer>    
</configuration> 

and here is the usercontrol source

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Portal.ascx.cs" Inherits="_21online_usercontrols_Portal" %> 
<%@ Register Assembly="Telerik.Web.UI, Version=2008.1.619.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" 
    Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<link href="/App.21online/C21Skin/Dock.C21Skin.css" rel="stylesheet" type="text/css" /> 
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> 
<telerik:RadDockLayout ID="RadDockLayout1" runat="server" EnableEmbeddedSkins="false" Skin="C21Skin">  
<table cellspacing="0" cellpadding="0" border="0" width="690">  
    <tr> 
        <td colspan="2">  
            <telerik:RadDockZone ID="RadDockZone1" runat="server" Width="698px" EnableEmbeddedSkins="false" HighlightedCssClass="Zone_Highlight" FitDocks="false" MinHeight="350px" MinWidth="695px" > 
                <telerik:RadDock ID="RadDock1" runat="server" Width="698px" height="398px" EnableEmbeddedSkins="false" Title="My Contacts">  
                    <contenttemplate> 
                    <iframe id="Iframe2" frameborder="0" src="http://staging.21online.com/app.21online/contacts/mycontacts.aspx" runat="server" height="365px" width="695px">  
                    </iframe>                      
                    </contenttemplate>                  
                </telerik:RadDock> 
            </telerik:RadDockZone>          
        </td> 
    </tr> 
    <tr> 
        <td class="zoneleft">  
            <telerik:RadDockZone ID="RadDockZone2" runat="server" Width="330px" EnableEmbeddedSkins="false" HighlightedCssClass="Zone_Highlight" MinHeight="243px" MinWidth="330px">  
                <telerik:RadDock ID="RadDock2" runat="server" Width="330px" height="243px" EnableEmbeddedSkins="false" Title="eCampaign Manager">  
                    <contenttemplate> 
                        <table cellpadding="0" cellspacing="0" border="0">  
                            <tr> 
                                <td colspan="3">  
                                    <table cellpadding="0" cellspacing="0" border="0" class="DockInnerTitle">  
                                        <tr> 
                                            <td> 
                                                <img src="/App.21online/images/build_newsletters.gif" alt="" border="0" />    
                                            </td> 
                                        </tr> 
                                    </table>                                  
                                </td> 
                            </tr> 
                            <tr> 
                                <td><img src="/App.21online/images/spacer.gif" alt="" width="5" height="100%"/></td> 
                                <td> 
                                    <div style="width:318px;">  
                                    <table cellpadding="3" cellspacing="2" border="0">  
                                        <tr> 
                                            <td style="text-align:left;vertical-align:top;"><href="#"><img src="/App.21online/images/build.gif" alt="" border="0" /></a></td> 
                                            <td style="text-align:left;vertical-align:top;">  
                                                <class="subtitle">Build<br /> 
                                                    <href="/ecards.aspx" class="white11">Design</a><br/>  
                                                    <href="/ecards.aspx" class="white11">Templates</a> 
                                                </p> 
                                            </td> 
                                            <td style="text-align:left;vertical-align:top;"><href="#"><img src="/App.21online/images/manage.gif" alt="" border="0" /></a></td> 
                                            <td style="text-align:left;vertical-align:top;">  
                                                <class="subtitle">Manage<br/> 
                                                    <href="/ecards.aspx" class="white11">Segments</a><br/>  
                                                    <href="/ecards.aspx" class="white11">Email Lists</a><br/>  
                                                    <href="/ecards.aspx" class="white11">Campaigns</a> 
                                                </p> 
                                            </td>                                  
                                        </tr> 
                                        <tr> 
                                            <td style="text-align:left;vertical-align:top;"><href="#"><img src="/App.21online/images/track.gif" alt="" border="0"/></a></td>  
                                            <td style="text-align:left;vertical-align:top;">  
                                                <class="subtitle">Track<br/> 
                                                   <href="http://www.c21poc.com:8080/login.aspx" target="_blank" class="white11">Track campaigns</a><br/>  
                                                   <href="http://www.c21poc.com:8080/login.aspx" target="_blank" class="white11">Setup new tracking</a> 
                                                </p> 
                                            </td> 
                                            <td style="text-align:left;vertical-align:top;"><href="#"><img src="/App.21online/images/admin.gif" alt="" border="0" /></a></td> 
                                            <td style="text-align:left;vertical-align:top;">  
                                                <class="subtitle">Admin<br/> 
                                                   <href="http://www.c21poc.com:8080/login.aspx" target="_blank" class="white11">User Administration</a><br/>  
                                                   <href="http://www.c21poc.com:8080/login.aspx" target="_blank" class="white11">Roles</a> 
                                                </p> 
                                            </td>                              
                                        </tr> 
                                    </table> 
                                    </div> 
                                </td> 
                                <td><img src="/App.21online/images/spacer.gif" alt="" width="5" height="100%"/></td> 
                            </tr> 
                        </table>                      
                    </contenttemplate>                  
                </telerik:RadDock> 
                <telerik:RadDock ID="RadDock4" runat="server" Width="330px" height="243px" EnableEmbeddedSkins="false" Title="My Listings">  
                    <contenttemplate> 
                    <!--<div style="overflow-x:hidden;overflow-y:scroll;height:207px;">--> 
                        <table cellpadding="0" cellspacing="0" border="0">  
                            <tr> 
                                <td colspan="3" style="width:100%;">  
                                    <table cellpadding="0" cellspacing="0" border="0" class="DockInnerTitle">  
                                        <tr> 
                                            <td> 
                                                <img src="/App.21online/images/sort_by_price.gif" alt="" border="0" />   
                                            </td> 
                                        </tr> 
                                    </table>                                  
                                </td> 
                            </tr> 
                            <tr> 
                                <td colspan="3" style="width:100%;">  
                                    <!--<div style="width:318px;">--> 
                                    <table cellpadding="3" cellspacing="0" border="0">  
 
                                        <tr class="row">  
                                            <td style="width:115px;"><img src="/App.21online/images/samplelisting1.gif" alt="" onmouseover="this.alt='This listing does not meet the minimum photos requirement';"/></td> 
                                            <td style="width:215px;">  
                                                <span class="white13bold">$500,000</span><br/>  
                                                <span class="white11bold">  
                                                    123 East main Street  
                                                <br/> 
                                                    West Chester,NY 12345  
                                                <br/> 
                                                <br/> 
                                                </span> 
                                                <href="" class="white11">Edit Listing</a>&nbsp;&nbsp;  
                                                <href="" class="white11">Email Listing</a>&nbsp;&nbsp;  
                                                <href="/listing_stats.aspx" class="white11" >Stats</a>&nbsp;  
                                            </td> 
                                        </tr> 
                                        <tr class="altrow">  
                                            <td><img src="/App.21online/images/samplelisting2.gif" alt=""/></td> 
                                            <td> 
                                                <span class="white13bold">$500,000</span><br/>  
                                                <span class="white11bold">  
                                                    209 West Valley Ave  
                                                <br/> 
                                                    Hackettstown,NJ 07840  
                                                <br/> 
                                                <br/> 
                                                </span> 
                                                <href="" class="white11">Edit Listing</a>&nbsp;&nbsp;  
                                                <href="" class="white11">Email Listing</a>&nbsp;&nbsp;  
                                                <href="/listing_stats.aspx" class="white11" >Stats</a>&nbsp;  
                                            </td> 
                                        </tr> 
                                        <tr class="row">  
                                            <td><img src="/App.21online/images/samplelisting1.gif" alt="" onmouseover="this.alt='This listing does not meet the minimum photos requirement';"/></td> 
                                            <td> 
                                                <span class="white13bold">$500,000</span><br/>  
                                                <span class="white11bold">  
                                                    123 East main Street  
                                                <br/> 
                                                    West Chester,NY 12345  
                                                <br/> 
                                                <br/> 
                                                </span> 
                                                <href="" class="white11">Edit Listing</a>&nbsp;&nbsp;  
                                                <href="" class="white11">Email Listing</a>&nbsp;&nbsp;  
                                                <href="/listing_stats.aspx" class="white11" >Stats</a>&nbsp;  
                                            </td> 
                                        </tr> 
                                        <tr class="altrow">  
                                            <td><img src="/App.21online/images/samplelisting2.gif" alt=""/></td> 
                                            <td> 
                                                <span class="white13bold">$500,000</span><br/>  
                                                <span class="white11bold">  
                                                    209 West Valley Ave  
                                                <br/> 
                                                    Hackettstown,NJ 07840  
                                                <br/> 
                                                <br/> 
                                                </span> 
                                                <href="" class="white11">Edit Listing</a>&nbsp;&nbsp;  
                                                <href="" class="white11">Email Listing</a>&nbsp;&nbsp;  
                                                <href="/listing_stats.aspx" class="white11" >Stats</a>&nbsp;  
                                            </td> 
                                        </tr> 
                                        <tr class="row">  
                                            <td><img src="/App.21online/images/samplelisting1.gif" alt="" onmouseover="this.alt='This listing does not meet the minimum photos requirement';"/></td> 
                                            <td> 
                                                <span class="white13bold">$500,000</span><br/>  
                                                <span class="white11bold">  
                                                    123 East main Street  
                                                <br/> 
                                                    West Chester,NY 12345  
                                                <br/> 
                                                <br/> 
                                                </span> 
                                                <href="" class="white11">Edit Listing</a>&nbsp;&nbsp;  
                                                <href="" class="white11">Email Listing</a>&nbsp;&nbsp;  
                                                <href="/listing_stats.aspx" class="white11" >Stats</a>&nbsp;  
                                            </td> 
                                        </tr> 
                                        <tr class="altrow">  
                                            <td><img src="/App.21online/images/samplelisting2.gif" alt=""/></td> 
                                            <td> 
                                                <span class="white13bold">$500,000</span><br/>  
                                                <span class="white11bold">  
                                                    209 West Valley Ave  
                                                <br/> 
                                                    Hackettstown,NJ 07840  
                                                <br/> 
                                                <br/> 
                                                </span> 
                                                <href="" class="white11">Edit Listing</a>&nbsp;&nbsp;  
                                                <href="" class="white11">Email Listing</a>&nbsp;&nbsp;  
                                                <href="/listing_stats.aspx" class="white11" >Stats</a>&nbsp;  
                                            </td> 
                                        </tr>              
                                    </table>     
                                    <!--</div>-->                               
                                </td> 
                            </tr> 
                         </table>   
                        <!--</div>-->                      
                    </contenttemplate>                  
                </telerik:RadDock> 
            </telerik:RadDockZone> 
        </td> 
        <td class="zoneright">  
            <telerik:RadDockZone ID="RadDockZone3" runat="server" Width="330px" EnableEmbeddedSkins="false" HighlightedCssClass="Zone_Highlight" MinHeight="243px" MinWidth="330px">  
                <telerik:RadDock ID="RadDock3" runat="server" Width="330px" height="243px" EnableEmbeddedSkins="false" Title="My News">  
                    <contenttemplate> 
                        <table cellpadding="0" cellspacing="0" border="0">  
                            <tr> 
                                <td colspan="3" style="width:100%;">  
                                    <table cellpadding="0" cellspacing="0" border="0" class="DockInnerTitle">  
                                        <tr> 
                                            <td> 
                                                <img src="/App.21online/images/modify_newsfeed.gif" alt="" border="0" />   
                                            </td> 
                                        </tr> 
                                    </table>                                  
                                </td> 
                            </tr> 
                            <tr> 
                                <td colspan="3" style="width:100%;">  
                                    <!--<div style="overflow-x:hidden;overflow-y:scroll;height:207px;width:318px;">--> 
                                    <table cellpadding="5" cellspacing="0" border="0">  
                                        <tr class="row">  
                                            <td> 
                                                <ul style="margin-top:2px;margin-bottom:3px;" > 
                                                    <li><a href="#" class="white10bold">Are Borrowers unfairly locked in high-cost loans ?</a></li>  
                                                </ul>    
                                            </td> 
                                        </tr> 
                                        <tr class="altrow">  
                                            <td> 
                                                <ul style="margin-top:2px;margin-bottom:3px;">  
                                                    <li><a href="#" class="white10bold">New market demands new client service tactics</a></li>  
                                                </ul>    
                                            </td> 
                                        </tr>                                          
                                        <tr class="row">  
                                            <td> 
                                                <ul style="margin-top:2px;margin-bottom:3px;">  
                                                    <li><a href="#" class="white10bold">Federal grant will assist unemployed mortgage workers</a></li>  
                                                </ul>    
                                            </td> 
                                        </tr> 
                                        <tr class="altrow">  
                                            <td> 
                                                <ul style="margin-top:2px;margin-bottom:3px;">  
                                                    <li><a href="#" class="white10bold">Get breaking real estate news and unbiased analysis</a></li>  
                                                </ul>    
                                            </td> 
                                        </tr>                                          
                                        <tr class="row">  
                                            <td> 
                                                <ul style="margin-top:2px;margin-bottom:3px;">  
                                                    <li><a href="#" class="white10bold">Real estate rates fall overnight</a></li>  
                                                </ul>    
                                            </td> 
                                        </tr> 
                                        <tr class="altrow">  
                                            <td> 
                                                <ul style="margin-top:2px;margin-bottom:3px;">  
                                                    <li><a href="#" class="white10bold">New market demands new client service tactics</a></li>  
                                                </ul>    
                                            </td> 
                                        </tr>                                          
                                        <tr class="row">  
                                            <td> 
                                                <ul style="margin-top:2px;margin-bottom:3px;">  
                                                    <li><a href="#" class="white10bold">Second Home Security</a></li>  
                                                </ul>    
                                            </td> 
                                        </tr> 
                                        <tr class="altrow">  
                                            <td> 
                                                <ul style="margin-top:2px;margin-bottom:3px;">  
                                                    <li><a href="#" class="white10bold">Realtor Ethics Discipline</a></li>  
                                                </ul>    
                                            </td> 
                                        </tr>                                          
                                      </table>                                          
                                    <!--</div>--> 
                                </td> 
                            </tr>                              
                         </table> 
                    </contenttemplate>                  
                </telerik:RadDock> 
                <telerik:RadDock ID="RadDock5" runat="server" Width="330px" height="243px" EnableEmbeddedSkins="false" Title="My Calendar">  
                    <contenttemplate> 
                        <table cellpadding="0" cellspacing="0" border="0">  
                            <tr> 
                                <td colspan="3">  
                                    <table cellpadding="0" cellspacing="0" border="0" class="DockInnerTitle">  
                                        <tr> 
                                            <td> 
                                                <img src="/App.21online/images/spacer.gif" alt="" width="318px" height="1" border="0" />   
                                            </td> 
                                        </tr> 
                                    </table>                                  
                                </td> 
                            </tr> 
                            <tr> 
                                <td><img src="/App.21online/images/spacer.gif" alt="" width="5"/></td> 
                                <td> 
                                    <table cellpadding="2" cellspacing="2" border="0">  
                                        <tr> 
                                            <td style="vertical-align:top;" > 
                                            </td> 
                                            <td style="vertical-align:top;">  
                                                <table cellpadding="5" cellspacing="0" border="0">  
                                                    <tr> 
                                                        <td> 
                                                            <span class="paratitle">February 29</span> 
                                                            <br />International Broker Convention   
                                                            <href="/events_calendar.aspx" class="white11">more...</a> 
                                                        </td> 
                                                    </tr> 
                                                    <tr> 
                                                        <td> 
                                                            <span class="paratitle">March 2</span> 
                                                            <br />Open House for 123 Main Street   
                                                            <href="/events_calendar.aspx" class="white11">more...</a> 
                                                        </td> 
                                                    </tr>                                                      
                                                </table>   
                                            </td> 
                                        </tr> 
                                    </table>                                      
                                </td> 
                                <td><img src="/App.21online/images/spacer.gif" alt="" width="5" /></td>  
                            </tr> 
                         </table> 
                    </contenttemplate>                  
                </telerik:RadDock> 
            </telerik:RadDockZone> 
        </td> 
    </tr> 
</table> 
</telerik:RadDockLayout> 
 

please advise
T. Tsonev
Telerik team
 answered on 05 Aug 2008
1 answer
95 views
Hi,

I am using RadAjax panel on a page which uses multiview to load any ascx control based on a session parameter. Now this page is loaded in a RadWindow from a different page so I have a close button on this page which is when fired returns to parent. The thing is it works only if I use html button and bind onclick javascript to that. What I want is to use an asp.net button which when fired clears the session and then closes the page and return to parent.

Now if I remove RadAjaxPanel from the page it works properly and closes the page but then there is no ajax.

Can someone please help me out with this?

If I am not clear then here is what you need to do.
1. Create a page, put a button there which when clicked opens another page.
2. The second page which is opened should have Radmultiview and load any ascx control.
3. The ascx control which is loaded should have an asp close button, so that when it's clicked it clears a session and then closes itself and returns to the main page.
4. Everypage should use RadAjaxPanel.

I hope I am clear now.
Thanks
Atiq
Georgi Tunev
Telerik team
 answered on 05 Aug 2008
1 answer
137 views
Hi
i want to show alert in a condition to value in the server side
if(a)  
{  
do something..  
}  
else  
{  
show rad alert  

can i do it from the server?
if you can show me how to do it or point me to some code
Thanks
Roiy
Georgi Tunev
Telerik team
 answered on 05 Aug 2008
3 answers
112 views
Hello, I know there was another thread on this but I cpuldn't find it to post it there, so I apologize for starting a new one.

Whenever I use the editor with anything other than basic toolkit, I get about 1.5inches of space below where you can type in text. I tried editor.modules.clear() but it didnt seem to help me. Any help would be appreciated.


Salomon
Rumen
Telerik team
 answered on 05 Aug 2008
1 answer
339 views
I am in the process of upgrading to RadControls for ASP.NET AJAX, and I am running into an issue with the RadGrid.  I am trying to capture the row being double-clicked by the user so that I can put that row in edit mode.

I have looked at the online examples, and I am using eventArgs.get_itemIndexHierarchical().  Unfortunately, it is not returning the index.  Instead, it is returning the id of the root content place holder minus the underscore.

I noticed that when I removed the underscore from each of my controls within each layer, it will work.  Is there some sort of limitation in that you may not precede control ids with an underscore?  I would appreciate any feedback.

Thank you,

Chris
Veli
Telerik team
 answered on 05 Aug 2008
0 answers
59 views
Hi,

My problem is, when I select a camera from treeviewRoom i show  appointments by room.

Rubihno
Top achievements
Rank 1
 asked on 05 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?