Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
98 views
I need to set two properties of a ComboBox from javascript on the client side -

AllowCustomText, and
ShowDropdownOnClick

I can't find the methods / properties to do this - is it possible?

Thanks
John
Shinu
Top achievements
Rank 2
 answered on 28 Jun 2010
1 answer
422 views
Hi Guys, i need your help to resolve this plzzzzz helpppp mmmeeeee

In the Below code trying find RadDatePicker(ID:studentJoiningDate)  on client Side. I  am unable to find out the control
Plzzzzzzz help me guyz...........
Thanks,
Jon

<

 

div>

 

 

 

 

<telerik:RadGrid

 

 

ID="RadGrid1"

 

 

runat="server"

 

 

AllowSorting="True"

 

 

AutoGenerateColumns="False"

 

 

AllowFilteringByColumn="True"

 

 

ShowFooter="True"

 

 

ShowGroupPanel="false"

 

 

Width="960px"

 

 

BorderColor="#999999"

 

 

BorderWidth="1px"

 

 

GridLines="None"

 

 

AllowPaging="true"

 

 

PageSize="20"

 

 

Height="800px"

 

 

onneeddatasource="RadGrid1_NeedDataSource"

 

 

onitemdatabound="RadGrid1_ItemDataBound"

 

 

onitemcommand="RadGrid1_ItemCommand"

 

 

Skin="Outlook"

 

 

>

 

 

<FooterStyle BorderStyle="None" />

 

 

<MasterTableView EditMode="PopUp" ShowGroupFooter="true" DataKeyNames="Student_id" HierarchyDefaultExpanded="true"

 

 

CommandItemDisplay="TopAndBottom" >

 

 

<NoRecordsTemplate>

 

 

<div style="padding: 10px; font-weight: bold; font-size: 14px; color: #ff0000; text-align: center">There are no Students available</div>

 

 

</NoRecordsTemplate>

 

 

<Columns>

 

 

<telerik:GridEditCommandColumn>

 

 

<HeaderStyle Width="50px" />

 

 

</telerik:GridEditCommandColumn>

 

 

<telerik:GridBoundColumn

 

 

DataField="Student_id"

 

 

HeaderText="Student ID"

 

 

UniqueName="Student_id"

 

 

SortExpression="Student_id"

 

 

AutoPostBackOnFilter="true"

 

 

CurrentFilterFunction="StartsWith"

 

 

ShowFilterIcon="false">

 

 

<HeaderStyle Width="100px"/>

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn

 

 

HeaderText="Name"

 

 

UniqueName="Name"

 

 

DataField="name"

 

 

SortExpression="Name"

 

 

AutoPostBackOnFilter="true"

 

 

CurrentFilterFunction="StartsWith"

 

 

ShowFilterIcon="false">

 

 

<HeaderStyle Width="200px"/>

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn

 

 

HeaderText="Size"

 

 

DataField="size"

 

 

UniqueName="size"

 

 

SortExpression="size"

 

 

AutoPostBackOnFilter="true"

 

 

CurrentFilterFunction="StartsWith"

 

 

ShowFilterIcon="false">

 

 

<HeaderStyle Width="100px"/>

 

 

</telerik:GridBoundColumn>

 

 

</Columns>

 

 

<EditFormSettings

 

 

EditFormType="Template"

 

 

InsertCaption="Add new Item"

 

 

CaptionFormatString="Edit Student_id:{0}"

 

 

CaptionDataField="Student_id"

 

 

FormStyle-Height="700px"

 

 

FormStyle-Width="700px"

 

 

PopUpSettings-Modal="true"

 

 

>

 

<

 

EditColumn UniqueName="EditCommandColumn1"></EditColumn>

 

<

 

FormStyle Height="700px" Width="700px"></FormStyle>

 

 

<FormTemplate>

 

 

 

<table id="Table2" cellspacing="1" cellpadding="1" width="400" border="0">

 

 

<tr>

 

 

<td>

 

 

</td>

 

 

<td>

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td>

 

Student ID:

 

</td>

 

 

<td>

 

 

<asp:Label ID="StudentIDLabel" Text='<%# Bind("Student_id") %>' runat="server" Width="200px">

 

 

</asp:Label>

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td>

 

Name:

 

</td>

 

 

<td>

 

 

<asp:TextBox ID="StudentNameTextBox" runat="server" Text='<%#Bind("name") %>' Width="200px">

 

 

</asp:TextBox>

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td>Size:</td>

 

 

<td>

 

 

<asp:TextBox ID="StudentSizeTB" runat="server" Text='<%#Bind("size") %>' Width="200px">

 

 

</asp:TextBox>

 

 

</td>

 

 

</tr>

 

 

<tr>

 

 

<td>Joining Date:</td>

 

 

<td>

 

 

<telerik:RadDatePicker ID="studentJoiningDate" runat="server" Width="200px">

 

 

</telerik:RadDatePicker>

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

<table style="width: 100%">

 

 

<tr>

 

 

<td align="right" colspan="2">

 

 

<asp:Button ID="Button3" Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>'

 

 

runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>'>

 

 

</asp:Button>&nbsp;

 

 

<asp:Button ID="Button4" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel">

 

 

</asp:Button>

 

 

</td>

 

 

</tr>

 

 

</table>

 

 

</FormTemplate>

 

 

<PopUpSettings Modal="True"></PopUpSettings>

 

 

</EditFormSettings>

 

 

</MasterTableView>

 

 

 

<ClientSettings AllowColumnsReorder="True" AllowDragToGroup="True">

 

 

<Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="true" FrozenColumnsCount="1" />

 

 

<ClientEvents/>

 

 

</ClientSettings>

 

 

<FilterMenu BorderStyle="None"></FilterMenu>

 

 

</telerik:RadGrid>

 

 

 

</div>

 

Princy
Top achievements
Rank 2
 answered on 28 Jun 2010
1 answer
126 views
I have  a RadMenu Outlook skin I want to modify. So far I have done two things

1. Set  EnableEmbeddedSkins="False"  on the RedMenu

2. I registered the  css file (skins/Outlook/Menu.Outlook.css) in the main master page.

Still the customizations dont show up. I guess there is something else to do but I think I followed the steps in the tutorial.

Thkx
Shinu
Top achievements
Rank 2
 answered on 28 Jun 2010
5 answers
159 views
How do you add an item to the rotator client side?
There is a get_items method, but I can't figure out how to add a new item to it.


maha
Top achievements
Rank 1
 answered on 28 Jun 2010
2 answers
116 views
I have the following rotator
<telerik:RadRotator ID="RadRotator1b" runat="server"  Height="190px" width="880px" BackColor="#a6ce39"    
                                                              RotatorType="ButtonsOver" ItemHeight="100px" ItemWidth="165px"  Skin=""   cssclass="RadRotator_rotatorSkin"  ScrollDuration="350"  FrameDuration="800" > 
                                                        <ItemTemplate> 
                                                          <div class="itemTemplate">  
                                                             
                                                             <table style='margin:1px 1px 1px 1px;background-color:transparent;padding:0;border:none;cursor:pointer;width:100%;-moz-border-radius:1px;-webkit-border-radius:1px;' > 
                                                                            <tr><td  style="width:10%">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td><td  style="width:80%"><href='<%# XPath("link") %>' target="_blank" style="width:100%">  
                                                                                 <img src='<%# XPath("src") %>'  border='0' hspace='0' width='90' height='130' align='center'/>  </a></td>  
                                                                              <td  style="width:10%">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td></tr>  
                                                                          <tr><td style="width:100%" colspan='3' align="center">    
                                                                              <href='<%# XPath("link") %>' style='font-weight: bold; font-size: 8pt; color: #484849;'><%# XPath("title") %> </a></font</td></tr>  
                                                                           <tr><td style="width:100%; color:White; " colspan='3' align="center">    
                                                                          <%#XPath("t")%>&nbsp;</asp:Label><a href='http://www.neelwafurat.com/locate.aspx?mode=1&search=author1&entry=<%# XPath("author") %>' style='font-size: 8pt; color: white;'><%#XPath("author")%> </a></font>   
                                                                             </td></tr>  
                                                                        </table> 
                                                       
                                                                   
                                                                
                                                        </div> 
                                                        </ItemTemplate> 
                                                    </telerik:RadRotator> 
                                                    <asp:XmlDataSource ID="XmlDataSourceb1" runat="server" XPath="books/book"  DataFile="~/generated_files/bitems.xml" ></asp:XmlDataSource> 

I am not setting the datasourceid to be XmlDatasourceb1 because i want to set it from javascript function.I need the items to load on tabclick event.This rotator is inside a pageview of a tab.How can i do that?Is it possible to set datasourceid from javascript?
maha
Top achievements
Rank 1
 answered on 28 Jun 2010
1 answer
246 views
Is it possible to alter the text that appears in the Group Panel? ("Drag a column header and drop it here to group by that column")?
Shinu
Top achievements
Rank 2
 answered on 28 Jun 2010
2 answers
115 views
hi telerik, click the button event, RadComboBox a value is selected, the server code
soft
Top achievements
Rank 1
 answered on 28 Jun 2010
4 answers
100 views
Hi. We use masterpages and the form decorator. On the masterpage we use the default skin and in the content pages the Windows7 skin. It renders okay on IE7 & IE8 but in IE6 some controls (not all) like buttons and scrollbars seem to keep the default skin. We only use zones and don't ever decorate entire pages. Is this a bug or behavior of IE6. Thanks.

Daniel
Daniel
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 28 Jun 2010
4 answers
191 views

I have to set the insert paramaters through the InsertCommand Event of the radgrid and need to get the value of the texbox that shows after you click "Add New Record".  How do I get the value from the textbox?
ejb
Top achievements
Rank 2
 answered on 26 Jun 2010
3 answers
132 views
Hi,

After searching through the forums I couldn't find this particular question posed or answered anywhere.
What I'd like to do is on a paste (preferred) or save event in the RadEditor, search the html content for deprecated tags like <b> and <i> and replace them with <strong> and <em> (respectively).

I believe this would be some kind of javascript code I need to add. I just need to know where to add it and what event listener to make it part of. Not looking for the entire code to be written for me, just would like to find out if it's possible and be pointed in the right direction.

Thank you.
Rumen Jekov
Top achievements
Rank 1
 answered on 26 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?