Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
129 views
When these controls render they do so in a table, label in one cell and control in another.

No problems so far.

However, if you've lots of these controls and the labels are all different lengths then you have the devils own job of getting your controls to stack nicely.

It would be nice if these controls rendered a class name in the <TD> tag (or better yet, had a LabelCssClass property where the <TD> and LabellCssClass property value could be used to write a CSS rule) so that the width could be set to a consistent value so that all the controls stacked neatly.

--
Stuart 
Stuart Hemming
Top achievements
Rank 2
 answered on 10 Nov 2010
5 answers
173 views
Hi there,

I'm trying to have the Calendar work in a scenario that is essentially the same as EnableMultiSelect=false  but also allow the user to select an entire week. What I don't want is the user to have the multiple select turned on where if they are clicking single days it will add them to the selection.

On single day clicks I want the calendar to lose the current selection, and select the day they just clicked.
On week click I want the whole week selected.

Can see that this is similar, but not quite sure which client events I can modify to make it work like this?
http://www.telerik.com/community/code-library/aspnet-ajax/calendar/calendar-week-selection-only-with-confirmation-popup.aspx

Any help would be appreciated!

Cheers
Gavin
Tsvetina
Telerik team
 answered on 10 Nov 2010
2 answers
357 views
Hi Experts,
i am trying to call alert on OnBlur client event of RadtextBox but its not working please advise
I have attached code for review
<asp:Panel ID="formContainer" runat="server" CssClass="formWrapper">
         <div id="ControlContainer">
                <!--Name-->
                <div>
                   <table>
                     <tr>
                         <td class="label"><b>Name</b> </td>
                         <td>
                            <Telerik:RadTextBox ID="txtName" runat="server" EmptyMessage="Please Enter Name...." Width="180px" ClientIDMode="Static"  >
                                <ClientEvents OnBlur="Validate" />
                            </Telerik:RadTextBox>
                         </td>
                     </tr>
                   </table>
                </div>
                <!--Email-->
                <div>
                   <table>
                     <tr>
                         <td class="label"><b>E-mail</b> </td>
                         <td>
                            <Telerik:RadTextBox ID="txtEmail" runat="server" EmptyMessage="Please Enter Valid Email...." Width="180px" ClientIDMode="Static">
                                <ClientEvents OnBlur="Validate" />
                            </Telerik:RadTextBox>
                         </td>
                     </tr>
                   </table>
                </div>
</asp:panel>
<Telerik:RadCodeBlock ID="rcb1" runat="server">
         <script type="text/javascript">
             function Validate(sender, args) {
                 switch (sender.get_id()) {
                     case "txtName":
                         alert("txtName");
                         break;
                     case "txtEmail":
                         alert("txtEmail");
                         break;
                     default: break;
                 }
             }
         </script>
</Telerik:RadCodeBlock>
Please advise
Dimo
Telerik team
 answered on 10 Nov 2010
1 answer
194 views
Hello
I have a screen with a RadListBox where users are able to search through the list with a button and a search button below. The user enters the search value and fact find.
I am able to find the right items with my search button and using the following method "FindItem" of control.

My problem is that if I have a scrollbar because I have a lot of information in the list find the item is in the bottom of the list, the control does not set the list to see who is selected by programming .

If it is not clear, I have an example I can send you.
Shinu
Top achievements
Rank 2
 answered on 10 Nov 2010
3 answers
295 views
Hello,
I got a question regarding images and the radlistview. I'd like to show images from a directory into a Radlistview.  I have a directory with the following images: a1.jpg, a2.jpg, b1.jpg, b2.jpg, b3.jpg. On pageload I'd like to get the files containing the letter 'b' (in this case 3 files), and show them in my radlistview.
My question: how can I get these pictures and show them in my listview on pageload?
Thanks for your help.
David  
Veli
Telerik team
 answered on 10 Nov 2010
4 answers
147 views
Can you help me how can I solve this with Radgrid.
See screenshot.
Thanks!
Shinu
Top achievements
Rank 2
 answered on 10 Nov 2010
1 answer
418 views
Hi,

I am using telerik:RadComboBox in my application.
I am biding data dynamically to the combobox so if there isn't any data to bind in the combobox and i am clicking on the combobox there is one dark link under the control is displayed.
I don't want this.

So, Is there any property available so i can display a string that "No Data" so user can view that instead of that dark unwanted line.
If property is not available then kindly suggest any method to avoid this.

Please reply asap.

Thanks in advance.
Princy
Top achievements
Rank 2
 answered on 10 Nov 2010
1 answer
104 views
Bind a grid and change its state to  edit / or insert mode after that i rebind() the grid but there persist the insert mode (or edit mode of that row index). How can i clear/cancel this edit/ insert mode on rebind?
Shinu
Top achievements
Rank 2
 answered on 10 Nov 2010
6 answers
688 views
I noticed that there is a white bar on top of 'Add new record' and 'Refresh', can I put a title of the Grid there? if yes, which property shall I use? I didn't find either 'Caption' or 'Title' in RadGrid.

Thanks!
Shafees
Top achievements
Rank 2
 answered on 10 Nov 2010
3 answers
177 views
<telerik:RadGrid ID="RadGrid1" runat="server" OnColumnCreated="RadGrid1_ColumnCreated" Skin="Office2007" Width="600px" OnItemCreated="RadGrid1_ItemCreated" OnItemDataBound="RadGrid1_ItemDataBound" AutoGenerateColumns="false" OnNeedDataSource="RadGrid1_NeedDataSource">
  <MasterTableView HierarchyDefaultExpanded="true" HierarchyLoadMode="Client" AllowSorting="true" DataKeyNames="mnid, mnparent,mnnamein">
    <SelfHierarchySettings ParentKeyName="mnparent" KeyName="mnid" />
        <Columns>
        <telerik:GridBoundColumn DataField="mnnamein" HeaderText="Menu"UniqueName="mnnamein"
           HeaderStyle-Width="350px"></telerik:GridBoundColumn>
        <telerik:GridTemplateColumn  UniqueName="CheckBoxTemplateColumn" HeaderText="Open">
        <ItemTemplate>
            <asp:CheckBox id="CheckBox1" runat="server"></asp:CheckBox>
        </ItemTemplate>
        </telerik:GridTemplateColumn>
        </Columns>
   </MasterTableView>
   <ClientSettings AllowExpandCollapse="true" />
</telerik:RadGrid>
I have grid like this(for picture in my attachement). The problem, if I select the parent checkbok then details checkbok also select and if I select details checkbok then parent checkbox also select.

How to doing like that??

thanks
Djefri
Top achievements
Rank 1
 answered on 10 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?