Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
124 views
I am trying to update a row using InPlace EditMode for the grid. For changing the row to EditMode i want ItemUpdated event needs to be called. This ItemUpdated event is not getting call even though i have assigned its vale to OnItemUpdated event. Can anyone help me in this.
Sebastian
Telerik team
 answered on 10 Jul 2008
1 answer
72 views
I'm using the r.a.d calendar control (Q2 2007).  When the calendar icon is at the bottom of the page and a user clicks on it, the calendar appears below outside of the viewable area and users have to scroll down the page to see the calendar.  Is there a way to fix this? 
Princy
Top achievements
Rank 2
 answered on 10 Jul 2008
1 answer
119 views
Here is my control:
<radP:RadPanelbar ID="RadPanelbar1" runat="server"   
    Skin="VPort" SkinsPath="~\RadControls\Panelbar\Skins" 
    ExpandAnimation-Duration="0" ExpandAnimation-Type="None"   
    BackColor="#FFFFFF">  
    <ItemTemplate> 
        <span id='spText' onmouseover='javascript:fnChangeRowColor(this, 1);'   
            style='text-align:left;float:left;display:inline;top:1px;text-decoration:underline;'>  
                <asp:label ID="lbl" runat="server"></asp:label> 
            </span> 
        <span id='spImages' style='text-align:right;float:right;display:inline;vertical-align:middle;'>  
            <asp:Image ID="img1" runat="server" ImageUrl="~/spacer.gif" 
        </span> 
    </ItemTemplate> 
</radP:RadPanelbar> 

If i call event RadPanelBar1_ItemDataBound how do I get access to the controls "lbl" and "img1"?

This is what I have so far:
    void RadPanelbar1_ItemDataBound(object sender, RadPanelbarEventArgs e)  
    {  
        RadPanelItem item = e.Item;  
        DataRowView dataRow = (DataRowView)e.Item.DataItem;  
    } 
Atanas Korchev
Telerik team
 answered on 10 Jul 2008
2 answers
72 views
Hi

I am having problem with customizing the button for the grid, where the grid have the DetailTables so when i click on this button on the left it expands. But the button looks so weired, how can i change this one with own button.

Thanks in Advance
Ricky

Ricky
Top achievements
Rank 2
 answered on 10 Jul 2008
1 answer
86 views
I'm in the process of upgrading some charts to use radchart, and since i'm pretty new to it (just started today and i love it already) I'm looking for some advice that I haven't been able to find in the documentation...

we have some monthly data which is in the form of a table with the columns
month monthname yr value

which means a user might have data for the past 3 years in 36 rows, one for each month of the year. I want to be able to show three line graphs on one radchart, one for each year in a different color. I thought that I would need to make three separate queries, one for each year, but when I was playing with it, I noticed I could just grab all data and "group" it somehow... I couldn't quite get it to work right however... so eventually I did end up splitting it into three chartseries, but now I can't get the month names to show up at the bottom, instead of showing the monthname, it shows the numerical month 1 - 12. I initialized the chartseries items with the value and the monthname, but that doesn't seem to affect the x axis.

so I guess my question is this: can I make a three-line chart using one bulk grab of data like I wanted to?

and also: how do I change the x-axis to show the month names instead of the numerical representations?

thanks!
Ves
Telerik team
 answered on 10 Jul 2008
1 answer
149 views
Is there functionality for the TreeView such as there is for the PanelBar in that you can Persist State in Cookie? I am using a treeview as a navigation menu and ofcourse when a user changes pages the selected node is lost.

I was thinking of storing the current state in a Session variable, but then I saw the Persist State in Cookie option of the PanelBar and thought this would be a better way to handle this.

Any ideas?
Atanas Korchev
Telerik team
 answered on 10 Jul 2008
2 answers
318 views
I have a simple Master/Detail Table structure that is not showing up correctly.  I am trying to show the details table but it comes up with No Child Records found.  I have followed the online samples and looked in all Telerik support but I have found no solution as to why it is not working correctly.    Additionally I have tried all sort of parameters, Control Parameter based on RadGrid1.SelectedValue, Session Control Parameter and more.  Can anyone give me any assistance.  Here is my code.  There is no code-behind.

<asp:SqlDataSource ID="SqlDataSource1" runat="server"

ConnectionString="<%$ ConnectionStrings:InsideWyatt %>"

SelectCommand="SELECT Email, FirstName, LastName, Phone, Office, Image, RecordID FROM dropdown_qry WHERE (Image IS NOT NULL) ORDER BY LastName, FirstName">

</asp:SqlDataSource>

<asp:SqlDataSource ID="SqlDataSource2" runat="server"

ConnectionString="<%$ ConnectionStrings:InsideWyatt %>"

SelectCommand="SELECT [RecordID], [JobTitle], [Department], [Assistant], [OfficeStreet], [State], [Hired], [OfficeNumber], [Extension] FROM [qry_UserProfileList] WHERE ([RecordID] = @RecordID)">

<SelectParameters>

<asp:SessionParameter Name="RecordID" SessionField="RecordID" Type="Int64" />

</SelectParameters>

</asp:SqlDataSource>

<br />

<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False"

DataSourceID="SqlDataSource1" GridLines="None" Skin="Outlook">

<

MasterTableView DataSourceID="SqlDataSource1" DataKeyNames="RecordID">

<DetailTables>

<telerik:GridTableView runat="server"

DataSourceID="sqldatasource2" >

<ParentTableRelation>

<telerik:GridRelationFields DetailKeyField="RecordID"

MasterKeyField="RecordID" />

</ParentTableRelation>

</telerik:GridTableView>

</DetailTables>

<

ExpandCollapseColumn Visible="True">

<

HeaderStyle Width="20px"></HeaderStyle>

</

ExpandCollapseColumn>

<Columns>

<telerik:GridBoundColumn DataField="Email" HeaderText="Email"

SortExpression="Email" UniqueName="Email">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="FirstName" HeaderText="FirstName"

SortExpression="FirstName" UniqueName="FirstName">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="LastName" HeaderText="LastName"

SortExpression="LastName" UniqueName="LastName">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="Phone" HeaderText="Phone"

SortExpression="Phone" UniqueName="Phone">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="Office" HeaderText="Office"

SortExpression="Office" UniqueName="Office">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="Image" HeaderText="Image"

SortExpression="Image" UniqueName="Image">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="RecordID" DataType="System.Int64"

HeaderText="RecordID" SortExpression="RecordID" UniqueName="RecordID">

</telerik:GridBoundColumn>

</Columns>

</

MasterTableView>

</telerik:RadGrid>

Thank you.
Corey Hambrick

Shinu
Top achievements
Rank 2
 answered on 10 Jul 2008
3 answers
161 views
Hi
I've been implementing a way to display different edit controls depending on data type here : http://www.telerik.com/community/forums/thread/b311D-beechm.aspx

Everything works fine except that if the EditItemTemplate row contains a RadtextBox with multiline enabled, the UPDATE event will not be fired on exit.

Any ideas on the reason why?

Best regards
Philippe
Pavel
Telerik team
 answered on 10 Jul 2008
1 answer
207 views
so i have a radgrid all wired up and working properly...  BUT the header text of a few Columns is pretty long and I would like it to be displayed on 2 lines...

Example

HeaderText="Specimen Collection Date" displays as

Specimen Collection Date

I would like it to have a break in there and display as

Specimen
Collection Date
Vlad
Telerik team
 answered on 10 Jul 2008
1 answer
100 views
I only see EditItemTemplate.  What if the edit fields are different than the insert fields. 

Or what if i need 2 different FormTemplates - one when inserting and one when editing?  What if you have 6 fields on insert and only update 1 on edit.

Shinu
Top achievements
Rank 2
 answered on 10 Jul 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?