Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
108 views
Hi Telerik,

I would like to change the forecolor  of an appointment. I tried using the following

e.Appointment.ForeColor =

Color.White;

 

e.Appointment.Attributes.Add(

"color", "white");

in  both AppointmentDataBound and AppintmentCreated events but without any benfits

So we need your help urgently.

Remarks:

we use the following

 

  • Rad controls for asp.net  ajax 2008 Q3
  • dot net framework 3.5
  • IE 8.0
  • windows vista

Yana
Telerik team
 answered on 24 Jun 2009
3 answers
507 views
Hi
I am new to radGrid controls.  I am using all the columns as template columns (contains EditItemTemplate,footerTemplate, ItemTemplate using textboxes,comboboxes).
When I try to update the row after editing its not updating with new values again it is going as we click on cancel.
I am using under RadGrid1_UpdateCommand. and using the following code.
 GridEditableItem editedItem = e.Item as GridEditableItem;
            string filterExp = "PRODUCTCODE = '" + editedItem.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["PRODUCTCODE"] +"'";
            DataRow[] changedRows = updateItemTable.Select(filterExp);
            Hashtable newValues = new Hashtable();
            e.Item.OwnerTableView.ExtractValuesFromItem(newValues, editedItem);
            DataRow changedRow = changedRows[0];
Here in the above code i am not getting the new values as i edited.
Please suggest me the code where I am wrong or if any sample code is available in this scenario request you to pass me.
looking forward to your response.
Thanks,
Dileep



Veli
Telerik team
 answered on 24 Jun 2009
1 answer
72 views
I have used the demo Accessing Nested Controls. However I might have found a bug, at the last step (register) the password is not available anymore and will always result in an empty string. How to solve this in the PanelBar.

Sincerely yours
Paul
Telerik team
 answered on 24 Jun 2009
0 answers
134 views
Hi All,
I want to Cusomize RadGrid to be as Survey Page  I used Itemtemplate like this:

 

<ItemTemplate>

 

<table border="0">

 

 

 

<tr>

 

 

 

<td style="width :100px; background-color: #D0E0FF; border-left: #3366cc 1px solid; border-bottom: #3366cc 1px solid; border-top: #3366cc 1px solid">

 

 

 

<asp:Label ID="lblSNO" runat="server" CssClass="GridRow" Text='<%#Eval("QID")%>'></asp:Label></td>

 

 

 

<td align="left" style="width :650px; border-right: #3366cc 1px solid; border-left: #3366cc 1px solid; border-bottom: #3366cc 1px solid; border-top: #3366cc 1px solid">

 

 

 

<asp:Label ID="lblQuestion" runat="server" CssClass="GridRow" Text='<%#Eval("Question")%>'></asp:Label></td>

 

 

 

</tr>

 

 

 

<tr>

 

 

 

<td style="width :100px; background-color: #D0E0FF; border-left: #3366cc 1px solid; border-bottom: #3366cc 1px solid;">

 

 

 

<asp:Label ID="Label1" runat="server" ForeColor="#3366cc" CssClass="GridRow" Text="Answer"></asp:Label></td>

 

 

 

<td align="left" style="width :650px; border-right: #3366cc 1px solid; border-left: #3366cc 1px solid; border-bottom: #3366cc 1px solid;">

 

 

 

<asp:CheckBoxList OnSelectedIndexChanged="CheckChanged" runat="Server" AutoPostBack="true" ID="chkAnswers" CellPadding="2" CellSpacing="2" RepeatLayout="flow" RepeatDirection="horizontal">

 

 

 

<asp:ListItem Text="one" Value="1"></asp:ListItem>

 

 

 

<asp:ListItem Text="two" Value="2"></asp:ListItem>

 

 

</asp:CheckBoxList>  </td</tr</table>

 

 

</ItemTemplate>


But I switch to design Mode I get No record found ,prolem is solve if I add coulmns to mastertableview ????


Please Help me ASAp
ghadeer

 

 

 

ghadeer
Top achievements
Rank 1
 asked on 24 Jun 2009
1 answer
85 views
Hi,

I am using LoadOnDemand example. I want to select a particular tab from the tabstrip when the button on the usercontrol is clicked.
So this is how the hierarchy is
Radstrip with tabs
Each tab with PageView with a usercontrol on it.
Button on a UserControl.

Say, I am on Tab2 and click button on it to select Tab1.
How can I do that?

Thanks,
Saifee.A
Paul
Telerik team
 answered on 24 Jun 2009
1 answer
50 views
I want to have 3 custom buttons e.g. IE Preview, Firefox Preview and Safari Preview and I want to preview the content in different browsers depending on the button I click. Is it possible?
Rumen
Telerik team
 answered on 24 Jun 2009
1 answer
177 views
Hi all,
I'm building a simple annotation system using radeditor. what i have done so far (using the examples given in the documentation) is create a button that allows users to add their own notes to the existing text (using the fire command to change the appearance of fonts etc). These 'notes' look different from the original text but users would still need to click on the button provided before they start typing their notes.

What i would like to do is to detect the user role and when he types into the editor, the font color is automatically different from the original text. The idea is to let the font color change without the user clicking the button.

Hope i've been clear enough on the problem. Any idea how this might be achieved?
Thanks in advance.
Rumen
Telerik team
 answered on 24 Jun 2009
1 answer
200 views
Hi All,
I have RadGrid with itemtemplate for survey questions ,user will choose answer from  checboxlist,So how can I get the selected value of checkboxlist to save in database


thanks
ghadeer
Princy
Top achievements
Rank 2
 answered on 24 Jun 2009
5 answers
142 views
Hi,

a while ago it has been announced that there will be the possibility to have Editor config files on sitecollection level
in a future release. Any updates on this?

Thanks
Matthias
Stanimir
Telerik team
 answered on 24 Jun 2009
2 answers
102 views
Hi Everyone,

Is there a way to set the panelitem Image alt attribute and add a onClick java script function to the image server side?

I have a PanelItem which displays a "Refresh" icon to the right of the Panel text, when a user moves the mouse over the image I would like it to display "Refresh" instead of the PanelItem text and when they click on the image I would like to call a java script function.

Can I somehow set these properties server side? Is there a way to get a reference to the IMG element of a panelitem server side?

Many thanks
Antony
Paul
Telerik team
 answered on 24 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?