Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
221 views
Hi,

This is continuation to the previous ticket
http://www.telerik.com/community/forums/aspnet-ajax/grid/grid-always-in-edit-mode.aspx#1005390

I added the following code to make grid editable.
 protected void Page_Load(object sender, EventArgs e)
{
for (inti = 0; i < RadGrid1.PageSize;i++)
{
RadGrid1.EditIndexes.Add(i);
}
}


I have the paging applied on the grid. Whenever i click on next page, the page refreshes and grid going back to non editable mode.

How to make grid in editable mode all the time without additional rebinding .

Thanks
Martin
Telerik team
 answered on 25 Nov 2009
5 answers
234 views
Hi, I have severals different RadTextBox in my page,

Each of them has the property "Empty Message"

I want to use the RadInputManager to gain performance, but is it really a good thing if i have to make One section (with empty message parameter) for each TextBox I have ?

for example translating this :
<telerik:RadTextBox runat="server" Id="Id1" EmptyMessage="Textbox1"></telerik:RadTextBox> 
 
<telerik:RadTextBox runat="server" Id="Id2" EmptyMessage="Textbox2"></telerik:RadTextBox> 
 
<telerik:RadTextBox runat="server" Id="Id3" EmptyMessage="Textbox3"></telerik:RadTextBox> 

by this :

 <telerik:RadInputManager runat="server" ID="radInputManager1"> 
                 <telerik:TextBoxSetting EmptyMessage="TextBox1"> 
                     <TargetControls> 
                         <telerik:TargetInput ControlID="ID1" /> 
                     </TargetControls> 
                 </telerik:TextBoxSetting> 
     <telerik:TextBoxSetting EmptyMessage="TextBox2"> 
                     <TargetControls> 
                         <telerik:TargetInput ControlID="ID2" /> 
                     </TargetControls> 
                 </telerik:TextBoxSetting> 
     <telerik:TextBoxSetting EmptyMessage="TextBox3"> 
                     <TargetControls> 
                         <telerik:TargetInput ControlID="ID3" /> 
                     </TargetControls> 
                 </telerik:TextBoxSetting> 
 </telerik:RadInputManager> 

Do I have a  performance (init and JS) gain this way?
Because I have to write more lines and increases the size of the page...

What is the performance impact if I have 30 RadTextBox on the page ?
Because I run on IE and i have a really big performance issue (On initialization of the page, and on running JS of the components, client side only once the page is fully loaded) even if I follow all the teleriks recommandations (Compression, Radmanagers, debug=false, etc)
Iana Tsolova
Telerik team
 answered on 25 Nov 2009
1 answer
112 views
We recently updated to the latest Q3 2009 release and it seems that the default value now for SelectionOnFocus has changed to CaretToBeginning.  We previously had not defined this value and I'm fairly certain it was none before, in that it just left the cursor where the user clicked.

Can anybody confirm this new behavior?  Was it on purpose? 

It also seems that when I specify None that it still does CaretToBeginning.  This, to me must be a bug.
Dimo
Telerik team
 answered on 25 Nov 2009
3 answers
197 views
Hi

Is this possible, I'm already opening the panel with Js , I just want to show the loadingpanel when its opening

 showLoadingPanel(Panel1); 
 
 function showLoadingPanel(sender, args) 
              { 
              var currentLoadingPanel = null; 
              var currentUpdatedControl = null; 
               
              currentLoadingPanel =  $find("<%= RadAjaxLoadingPanel1.ClientID %>"); 
              currentUpdatedControl  == args.get_eventTarget(); 
              currentLoadingPanel.show(currentUpdatedControl); 
               
              } 
 
 

Iana Tsolova
Telerik team
 answered on 25 Nov 2009
2 answers
170 views
Hi,
 

we are  trying to add custom controls to the appointment inline create/edit form.

In inline create/edit we have added  the new field as Users and used the radcomboBox for showing users.we have to get the users from db and bind into it.

When we double click an empty slot,onFormCreating event is  fired.But we are not able to get the combo box control and fill the users.
But in onFormcreated event ,we can get the control by using e.container.

The problem is this event(onFormcreated event) is not fired.

i would like to load the users in combobox while inline create window opens.


i am giving you the sample coding that  i am using

  <InlineInsertTemplate>
                     
                                    <table>
                                        <tr>
                                            <td>
                                             Subject:
                                            </td>
                                           
                                             <td>
                                                            <asp:TextBox  runat="server"
                                                               ID="DescriptionText"
                                                               Width="240px">
                                                     </asp:TextBox>
                                             </td>
                                                  
                                        </tr>
                                        <tr>
                                            <td>
                                                  <asp:Label ID="lblStartTime" runat="server" Text="Start time:"></asp:Label>
                                            </td>
                                            <td>
                                                <telerik:RadTimePicker ID="tpStartTime"  DateInput-ReadOnly="true"   Skin="Web20" runat="server">
                                                </telerik:RadTimePicker>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Label ID="lblEndTime" runat="server" Text="End time:" Visible="true"></asp:Label>
                                            </td>
                                            <td>
                                                <telerik:RadTimePicker ID="tpEndTime" DateInput-ReadOnly="true" runat="server" Skin="Web20">
                                                </telerik:RadTimePicker>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Label ID="lblUser" runat="server" Text="User:" Visible="true"></asp:Label>
                                            </td>
                                            <td>
                                                <telerik:RadComboBox ID="ddlUsers" Skin="Web20"  
                                                DataValueField="UserId" DataTextField="UserName"  
                                                AutoPostBack="false" runat="server">
                                                </telerik:RadComboBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Label ID="lblMarkUs" runat="server" Text="Mark as" ></asp:Label>
                                            </td>
                                            <td>
                                                <telerik:RadComboBox ID="ddlMarkUs" Skin="Web20"  AutoPostBack="false" runat="server">
                                                    <Items>
                                                        <telerik:RadComboBoxItem Text="Select" Value="N" />
                                                        <telerik:RadComboBoxItem Text="Assisted user" Value="A" />
                                                        <telerik:RadComboBoxItem Text="Service/Maintenance" Value="S" />
                                                        <telerik:RadComboBoxItem Text="Training" Value="T" />
                                                    </Items>
                                                </telerik:RadComboBox>
                                            </td>
                                        </tr>
                                       
                                        <tr>
                                            <td>
                                            <asp:Button runat="server" ID="btnSchedulerUpdate"
                                            ValidationGroup="vgCreateAppointment" SkinID="btn"
                                            CausesValidation="true"  Text="Update"
                                               />
                                        </td>
                                            <td>
                                                <asp:Button ID="btnSchCreatUpdateCancel"
                                                SkinID="btn"
                                                causesvalidation="false" OnClientClick="hideForm();"
                                                runat="server" Text="Cancel" />
                                        </td>
                                        </tr>
                                       
                                    </table>
                                   
                </InlineInsertTemplate>
               


Thanks for any help

Veselin Vasilev
Telerik team
 answered on 25 Nov 2009
2 answers
168 views

Using the RadDatePicker i wish to allow free text as well as dates for example TBA or N/A etc.. .
How do i turn of date validation ie.. an exclamation mark appears and the RadDatePicker's border turns red when a non date is entered.

Dimo
Telerik team
 answered on 25 Nov 2009
1 answer
135 views
Hello,

I have ran into an issue.  I am using an MVC view which has a RadUpload control.  I'm doing a JQuery post to the server, as the means for my AJAX postback.  Is there a way to get access to the file from the JQuery post?  Request.Files collection is empty, and when I don't do a postback via JQuery, it's 1.

Is there a workaround?  Client-side event, etc?

Thanks.
Georgi Krustev
Telerik team
 answered on 25 Nov 2009
3 answers
179 views

vs2008

q2 2009

Hiya,

I need to add the above to the GridBinaryImageColumn in the grid, but every time I add it I get an error.
I only want the image to appear when in editMode.

<telerik:GridBinaryImageColumn DataAlternateTextField="Description" DataAlternateTextFormatString="No photo added yet" 
                        DataField="Data" HeaderText="Photo" ImageAlign="NotSet" ImageHeight="80px" ImageWidth="80px" 
                        ResizeMode="Fit" UniqueName="Upload" > 
                        <HeaderStyle Width="10%" />                         
                    </telerik:GridBinaryImageColumn> 

Any ideas? I'm struggling with this one.

Thanks,

yogi


Sebastian
Telerik team
 answered on 25 Nov 2009
2 answers
79 views
Hi,

I would like to use Telerik List Box.  From demo what i can get is we can Move items up and down using javascript and pistback.

But I would like to know whether Ajaxified Posbacks are allowed while Move Up and Move down button in page? If yes how can i achieve it?

Also, i would liek to have text "Move Up" and Move Down" in place of Up/Down arrows.

Request you to please suggest on this.

Thanks and regards,
Manish Patel
Veselin Vasilev
Telerik team
 answered on 25 Nov 2009
8 answers
504 views
hi,

i am using context menus(4 options) for showing right click options.but am not able to implement some of the things  that are follows

These are to be done in server side.because i have some validations in server side to show/hide content menus.

1.  I need to disable the right click options(context menus) for  particular appointment.
2.  I need to enable one context menu out of 4 menus for particular appointment


how can it is possible?

Thanks for your valuable suggestions,

Sabarish
Peter
Telerik team
 answered on 25 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?