Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
111 views
I would like to disable a Panelbar Item based upon a user's login credentials, any direction would be much appreciated.
3ms
Top achievements
Rank 2
 answered on 17 Mar 2009
5 answers
233 views
can i get the time picker values from database than fixing it Start, end and intervals
Daniel
Telerik team
 answered on 17 Mar 2009
1 answer
190 views
I am having trouble accessing the AppointmentDataBound class from within an .aspx page rendering a RadScheduler control.

As an example, I would expect to be able to overwrite the stored value for each Subject Item with a local value:

protected

 

void RadScheduler1_AppointmentDataBound(object sender, SchedulerEventArgs e)

 

{

e.Appointment.Subject =

"TEST";

 

}

What I am aiming to do is to assign colors based on custom resources using a Data Source, which I was unable to get to work, so I hoped to prove the I was actually firing the Data Bound event by testing it with the Subject change.

Here is an example oh how I would like to display colors for different resources ("CalendarType"):

protected void RadScheduler1_AppointmentDataBound(object sender, SchedulerEventArgs e)

 

{

if (e.Appointment.Resources.GetResourceByType("CalendarType") != null)

            e.Appointment.CssClass = DataBinder.Eval(e.Appointment.Resources.GetResourceByType("CalendarType").DataItem, "CalendarTypeColor").ToString();
}

Thanks in advance. You guys have a great product and we will purchase once we solve this problem!

Peter
Telerik team
 answered on 17 Mar 2009
3 answers
254 views

<

telerik:RadMenuItem runat="server">

 

 

<ItemTemplate>

 

search:

 

<telerik:RadTextBox ID="txtQuickSearch" runat="server" Height="12px">

 

 

</telerik:RadTextBox>&nbsp;<asp:Button ID="btnQiuckSearch" runat="server" OnClick="btnQiuckSearch_Click"

 

 

Text="Go" BackColor="#FF8000" Height="22px" Font-Size="Small" BorderStyle="Double" /></ItemTemplate>

 

 

</telerik:RadMenuItem>


The above code .iam not able to access textbox and button  from the code behind.

Please give me the suggession.

Thanks
Satish.

 

satish
Top achievements
Rank 1
 answered on 17 Mar 2009
2 answers
78 views
Hello,

I'm new to the Telerik tools and I apologize if this question sounds trivial.

We're building an application that will use many of the Radtools and I'm trying to understand how tags (for example a simple paragraph tag) is governed by the skin.  For example, if I'm building a form that is using the Form Decorator and I include a string of text as such:

<p>This is a text message..."</p>

Is there a specific style for the paragraph tag included in each skin?  Or, would i be setting up a 2nd style sheet for items that are not directly controlled by a Telerik tool?  I'm assuming that if the paragraph tag is inside the form tag that I could simply edit the style sheet associated with the skin we'e using to either include a paragraph tag in the cascade or if the style already exists all I need to do is simply edit it to my liking.

The only problem I can see going forward is that we want to provide the user the ability to change or even edit their own skins.  As far as editing goes, they're more or less on their own but I want to be sure that if they choose a new skin the specific style I added won't mess up the design as a result because I customized the default skin to include a new style.  Maybe I just answered my own question, I suppose I would have to make sure that if I were were to provide additional skins for the user to select that I replicate any specific changes to the style sheet in the other skins as well.

Am I on the right track with this or is there something more simple that I'm missing?

Thank you,
Bob

Robert
Top achievements
Rank 1
 answered on 17 Mar 2009
1 answer
70 views
before Q1 2009 it was possible to access various help files, api, how-to etc. directly from each constrol "overview page" in the demo-area. I really liked this resource. It it gone or just moved elsewhere?
Ivo
Telerik team
 answered on 17 Mar 2009
1 answer
147 views
I've just followed the instructions on the following articles to add Compression to my application

RadCompression Module
RadCompression for ViewState

In the ViewState compression article it mentions the possibility of shifting ViewState to the Session. This seems like a great idea. What are the pros and cons of this?


Sebastian
Telerik team
 answered on 17 Mar 2009
2 answers
103 views
I am using the following code to update the value in a grid cell clientside:

 

var masterTable = $find("<%=dtInvoice.ClientID%>").get_masterTableView();

 

 

var amount = masterTable.getCellByColumnUniqueName(masterTable.get_dataItems()[row], "Apply")

 

 

if (amount)

 

{

amount.innerHTML = displayamt;

}

 

return false;

I have not figured out a way to pull the value on the serverside.  I tried pulling using the dataitem but it always returns empty.  What am i missing?

 

Tina
Top achievements
Rank 2
 answered on 17 Mar 2009
2 answers
82 views
see
http://demos.telerik.com/aspnet-ajax/rotator/examples/default/defaultcs.aspx

and  set  Direction="Up"

1)in the demo, it pulls  one photo out
but i want 2 or(any number) to go out 
what to be done for this?


2) Suppose  my photos are of different height
    what can i  do , to pull out exactly  one (if i got solution to first question i will use 2 here)
    photo out?

cheersku!
PureRamu
Top achievements
Rank 1
 answered on 17 Mar 2009
2 answers
366 views
Hi All,
   Current I have a Telerik:Grid which has NestedViewTemplate. Inside this NestedViewTemplate I have a DetailTables. Inside the DetailTables. I have Telerik:GridTableView. I have specified ParentTableRelation with DetailKeyFeild and MasterKeyFeild.

This GridTableView is binding data when I expand the row in MatserTable of main grid.

Problem: On code behind of OnNeedDataSource of Grid present in detail table, How to access the value of DataKeyName of main table. I have specified the same key as the MasterKeyFeild also.
To be precise, How to access MasterKeyFeild Value specified in the detail table in OnNeedDataSource. I hope this MasterKeyFeild Value would be obtained from MainGrid automatically.

Posting code for your comfort.

 
<rad:radgrid id="UserGridRegular"
        <MasterTableView  DataKeyNames="ID" DataKeyNames="ID"
                            <NestedViewTemplate> 
                                <Rad:RadGrid ID="nestedgrid" runat="server" OnNeedDataSource="UserGridRegular_NeedDataSource1"
                                    <MasterTableView HierarchyDefaultExpanded="false"  HierarchyLoadMode="ServerBind" EnableNoRecordsTemplate="false" 
                    DataKeyNames="ID,ParentID"
                                        <SelfHierarchySettings ParentKeyName="ParentID" KeyName="ID"></SelfHierarchySettings> 
                                        <DetailTables> 
                                            <Rad:GridTableView DataKeyNames="ID"
                                                <ParentTableRelation> 
                                                    <Rad:GridRelationFields DetailKeyField="ID" MasterKeyField="ID" /> 
                                                </ParentTableRelation> 
                                                <Columns> 
                                                    <Rad:GridTemplateColumn HeaderText="ID" 
                                                        UniqueName="ID"
                                                        <ItemTemplate> 
                                                            <asp:Literal ID="Literal7" runat="server" Text='<%# Eval("ID") %>'></asp:Literal> 
                                                        </ItemTemplate> 
                                                    </Rad:GridTemplateColumn>              
                                                    <Rad:GridTemplateColumn HeaderText="ParentID" 
                                                        UniqueName="ParentID"
                                                        <ItemTemplate> 
                                                            <asp:Literal ID="Literal8" runat="server" Text='<%# Eval("ParentID") %>'></asp:Literal> 
                                                        </ItemTemplate> 
                                                    </Rad:GridTemplateColumn>   
                                                </Columns> 
                                            </Rad:GridTableView> 
                                        </DetailTables> 
                                    </MasterTableView> 
                                </Rad:RadGrid> 
                            </NestedViewTemplate> 
                    <Columns> 
                        <Rad:GridTemplateColumn HeaderText="ID" 
                            UniqueName="ID"
                            <ItemTemplate> 
                                <asp:Literal ID="Literal2" runat="server" Text='<%# Eval("ID") %>'></asp:Literal> 
                            </ItemTemplate> 
                        </Rad:GridTemplateColumn>   
                    </Columns> 
        </MasterTableView> 
</rad:radgrid> 
 


giridhar
Top achievements
Rank 1
 answered on 17 Mar 2009
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?