Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
87 views
I have some code below that I'm trying to get setup.  As you can see I have two parent nodes called:  Home & Services.  Each one has child nodes called:  Add, Remove, Preview.  I'm just not sure how to code the RadMultiPage.  I was hoping that someone could help me code this.  I would greatly appreciate it.

<telerik:RadTabStrip ID="RadTabStrip1" runat="server" SelectedIndex="0"  
            Skin="Sunset"
            <Tabs> 
                <telerik:RadTab runat="server" Selected="True" Text="HOME" SelectedIndex="0"
                    <Tabs> 
                        <telerik:RadTab runat="server" Text="Add" Selected="True"
                        </telerik:RadTab> 
                        <telerik:RadTab runat="server" Text="Remove"
                        </telerik:RadTab> 
                        <telerik:RadTab runat="server" Text="Preview"
                        </telerik:RadTab> 
                    </Tabs> 
                </telerik:RadTab> 
                <telerik:RadTab runat="server" SelectedIndex="0" Text="SERVICES"
                    <Tabs> 
                        <telerik:RadTab runat="server" Selected="True" Text="Add"
                        </telerik:RadTab> 
                        <telerik:RadTab runat="server" Text="Remove"
                        </telerik:RadTab> 
                        <telerik:RadTab runat="server" Text="Preview"
                        </telerik:RadTab> 
                    </Tabs> 
                </telerik:RadTab> 
            </Tabs> 
        </telerik:RadTabStrip> 
        <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" CssClass="multiPage"
            <telerik:RadPageView ID="RadPageView1" runat="server" > 
                 
            </telerik:RadPageView> 
             
        </telerik:RadMultiPage> 

Thanks,
    QWERTYtech


Princy
Top achievements
Rank 2
 answered on 22 Dec 2008
1 answer
80 views
What I have is a portal homepage, which is statically built (meaning I am not pulling the docks from a db or anything), what I want to be able to do is limit access of certain docks to certain people.  When they login depending on what type of user they are they will see different docks.  Normally I would use some if statements however code blocks are not supported.

What is the best way to acheive this?
Sorry for my ignorance I am fairly new with this excellent control suite.

Thanks in advance

jay
Vyrban
Top achievements
Rank 1
 answered on 22 Dec 2008
3 answers
140 views
Hi,

As the title suggests my problem is when the Dock Zone with the RadDocks is loaded with the page. The RadDocks have Command Items shown and their pictures are shown floated to the right off the RadDock width. They come to a normal position when I click on the titlebar of the RadDock.
Can anyone help me on this one?
Thank you.

(I wanted to upload a picture but I did not find out how...)  
Nikolay Raykov
Telerik team
 answered on 22 Dec 2008
1 answer
177 views
Hi,

I want to use same Doc and zones approach for our homepage.
 http://demos.telerik.com/aspnet-ajax/Dock/Examples/MyPortal/DefaultCS.aspx

I have following query on using JSON:
In case I load & store the user controls as in your sample. Few months down the line the User control changes
and I add a few more properties. At the time of loading state, will the JSON deserializer recognise matching properties atleast or it will fail to deserialize?

Kind regards,
Sameer
Nikolay Raykov
Telerik team
 answered on 22 Dec 2008
4 answers
214 views
Hello,

I am using GridTemplateColumns in which there are asp controls like checkboxes and textboxes....

<telerik:GridTemplateColumn UniqueName="LocalUsageColumn" HeaderText="Local Usage" EditFormColumnIndex="1">

<ItemTemplate>

<asp:CheckBox id="DisabledLocalCheckBox" runat="server" Enabled="False" Checked='<%# Eval("LocalUsage") %>'></asp:CheckBox>

</ItemTemplate>

<EditItemTemplate>

<asp:CheckBox id="EditableLocalCheckBox" runat="server" Checked='<%# Bind("LocalUsage") %>' Onclick="usageCheck('EditableLocalCheckBox');">
</
asp:CheckBox>

</EditItemTemplate>

</telerik:GridTemplateColumn>


I have a javascript function that gets fired when the checkboxe state changes, I would like to know how to get the ClientID of the controls I have in the EditItemTemplate
function usageCheck(sender){ }

I have tried 

$find(

"<%= LocalUsageColumn.ClientID %>");

But can't be found.

My grid is in a page that inherits from a master page, So the ID for the controls looks something like .......
 ctl00_MasterPageContentPlaceHolder_RadGrid1_ctl00_ctl05_EditableLocalCheckBox

But each editable Item in eachrow has diffrent ID (ctl00_ctl05, ctl00_ctl06, etc) so I can't hardcode it.

Do you have a solution?

I apreciate your reply in advance.

Ravi
Top achievements
Rank 2
 answered on 22 Dec 2008
4 answers
170 views
Hi

I've a tree view bound to a database, this is my code, and it works OK.

 

Dim Exp As New clsExpert

 

Dim dt As DataTable = Exp.GetChildByProvider(UserID, ProviderID)

 

If dt.Rows.Count > 0 Then

 

With Me.tvNav

 

.DataSource = dt

.DataFieldID =

"ID"

 

 

.DataFieldParentID ="ParentID"

 

 

.DataTextField = "Node"

 

 

.DataValueField = "ChildID"

 

 

.DataBind()

 

.ExpandAllNodes()

 

End With

 

 

Else

 

 

Me.lblNavStatus.Text = "No Children set up."

 

 

End If

This gives me a 2 level tree, with groups and children. How can I disable the top level nodes to stop users from clicking them and getting an error, as these first level nodes dont have any ID's associated with them.

Andy

 

 

 

Andy Green
Top achievements
Rank 2
 answered on 22 Dec 2008
5 answers
247 views
Is there something equivalent to ContentUrl for the RadSlidingPane?

Jorge
Svetlina Anati
Telerik team
 answered on 22 Dec 2008
5 answers
109 views
Hi, I am upgrading an old ASP application to use the Grid control. The old ASP implementation reads in single character status codes from the database and outputs user friend text labels which sometimes include data from other tables into an HTML page. For example, the database might contain status codes 'P' and 'S' which would correspond to 'Pending' and 'Shipping from [location]' on screen. How can I accomplish something similar in RadGrid while preserving filtering and sorting functionality?
Nikolay Rusev
Telerik team
 answered on 22 Dec 2008
1 answer
102 views
I need to change the background color of Radeditor 5.3 for MOSS to white. It is currently getting body tag of Container page. Please let me know How can I overide that color.
Thanks
Rumen
Telerik team
 answered on 22 Dec 2008
1 answer
135 views
i have add radupload progress and radupload area and radupload
and configure the webconfig with

 

<system.webServer> 
      <validation validateIntegratedModeConfiguration="false"/>  
      <modules> 
        <remove name="ScriptModule" /> 
        <add name="ProgressModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" /> 
        <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
      </modules> 
      <handlers> 
        <remove name="WebServiceHandlerFactory-Integrated"/>  
        <remove name="ScriptHandlerFactory" /> 
        <remove name="ScriptHandlerFactoryAppServices" /> 
        <remove name="ScriptResource" /> 
        <add name="DialogHandler" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2008.1.415.35, Culture=neutral, PublicKeyToken=5798b630e02d74fc"/>  
        <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.RadUploadProgressHandler.ashx_*" path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI" preCondition="integratedMode,runtimeVersionv2.0"/>  
      </handlers> 
 
    </system.webServer> 

it is work for milliseconde and then give me this


Server Error in '/newfuture' Application.  
--------------------------------------------------------------------------------  
 
Object reference not set to an instance of an object.   
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.   
 
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.  
 
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:   
 
 
[NullReferenceException: Object reference not set to an instance of an object.]  
   Telerik.Web.UI.RadUploadHttpModule.SetTextContent(Type workerRequestType, HttpWorkerRequest workerRequest, Byte[] textContent) +162  
   Telerik.Web.UI.RadUploadHttpModule.Context_BeginRequest(Object sender, EventArgs e) +378  
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68  
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75  
 
   
 
 
--------------------------------------------------------------------------------  
Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3053  
Atanas Korchev
Telerik team
 answered on 22 Dec 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?