Telerik Forums
UI for ASP.NET AJAX Forum
13 answers
445 views
Hi All

I want to be able to disable the Delete confimation dialog box when a custom attribute is a certain value,
I have disabled the delete command with the following script
function schedMove(sender, args){
                var app = args.get_appointment();
                var attr = app.get_attributes().getAttribute('schedType');
  
  
                     if (attr == "Movement") {
                        args.set_cancel(true);
                    }
                }

Any help on disabling the delete confirmation would be "GREATLY" appreciated.

Many Thanks

Regards

Darren
Veronica
Telerik team
 answered on 14 Mar 2011
1 answer
76 views
Hi,

Could you please provide me css class of grouping close button .....in radgrid....
Shinu
Top achievements
Rank 2
 answered on 14 Mar 2011
1 answer
91 views
Hi,

I'm working on a french web site.
Is it possible to have the audio captcha in french?


Thanks
Charles
Shinu
Top achievements
Rank 2
 answered on 14 Mar 2011
6 answers
212 views
I have a template edit form in a RadGrid that contains 4 RadComboBoxes.  I would like to add items to these combo boxes on the client side while the grid is in Edit Mode.  So for example I edit row #2, and then the user clicks a button to add another item to the RadComboBox.  Is it possible to get a client side reference to this combo box for the row currently being edited?  Then once I have reference to this combo box I can use the RadComboBox client side API to add the new combo box item.

Also if there is a way to do this, how would I loop through all of the items being edited if the grid is currently editing all items.

Please view attached image for an image that may help.

Thank you.
Princy
Top achievements
Rank 2
 answered on 14 Mar 2011
4 answers
84 views
Code is as follows:

<Columns>
 <telerik:GridTemplateColumn AllowFiltering="false" HeaderText="Seminar" UniqueName="Seminar">
  <ItemStyle Width="40%" />
  <ItemTemplate>
   <asp:HyperLink ID="rgtcTitle" runat="server" /><br />
   <asp:Label ID="rgtcLoc" runat="server" /><br />
   <asp:Label ID="rgtcDate" runat="server" />   <asp:Label ID="rgtcTime" runat="server" /><br />
  </ItemTemplate>
 </telerik:GridTemplateColumn>
 <telerik:GridTemplateColumn AllowFiltering="false" HeaderText="Speakers" UniqueName="Speakers">
  <ItemStyle Width="40%" />
  <ItemTemplate>
   <asp:Label ID="rgtcSpeakers" runat="server" /><br />
  </ItemTemplate>
 </telerik:GridTemplateColumn>
 <telerik:GridCheckBoxColumn DataField="Rcr" DataType="System.Boolean" HeaderText="Rcr" SortExpression="Rcr" UniqueName="Rcr">
 </telerik:GridCheckBoxColumn>
</Columns>


The issue is when I export to PDF the First gridTemplateColumn "reorders" itself.   the Hyperlink gets moved to the bottom of the 2 labels.  EVERYTHING else is GREAT..

Any help would be appreciated.

Jimm
Jasmin Edwin
Top achievements
Rank 1
 answered on 14 Mar 2011
1 answer
92 views
Hi, I am trying your demo code found here http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filtertemplate/defaultcs.aspx
and used it as a starting point to add a RadComboBox of a column in my grid as shown here. The boldfaced line below throws an error in the browser - Compiler Error Message: BC30108: 'GridItem' is a type and cannot be used as an expression.

here is the code - any thoughts or help greatly appreciated.

<telerik:GridBoundColumn DataField="Difficulty" HeaderText="Difficulty" UniqueName="Difficulty">
                               <FilterTemplate>
                         <telerik:RadComboBox ID="rcbDifficulty" runat="server" OnClientSelectedIndexChanged="difficulty_changed" width="50px">
                         <Items>
                         <telerik:RadComboBoxItem Text="Beginner" value="Beginner"/>
                         <telerik:RadComboBoxItem Text="Intermediate" value="Intermediate"/>
                         <telerik:RadComboBoxItem Text="Advanced" value="Advanced"/>
                         </Items>
                         </telerik:RadComboBox>
                          <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">

                                <script type="text/javascript">
                                    function difficulty_changed(sender, args) {
                                        var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
                                        tableView.filter("Difficulty", args.get_item().get_value(), "EqualTo");

                                    }
                                </script>

                            </telerik:RadScriptBlock>
                         </FilterTemplate>
                        </telerik:GridBoundColumn>
Princy
Top achievements
Rank 2
 answered on 14 Mar 2011
1 answer
166 views
Hi All

When i am trying to edit the RadEditor which is inside the Form Template of a Radgrid for the first name, the Editor goes outside the form and its becoming too much wide.

Please see the video here Radeditor breaking width

This is happening for when running inside IE8, in FF it is working perfectly.

I have tried fixing with following code also but its not working..

function OnClientInit(editor) {
     var editorWidth = editor.get_element().style.width;
      
     editor.add_firstShow(function() {
         editor.get_element().style.width = editorWidth;
     });
 }

Thanks
Asutosh

Asutosh
Top achievements
Rank 1
 answered on 14 Mar 2011
1 answer
221 views
How to I make the RadGrid popup editform non-draggable?
Shinu
Top achievements
Rank 2
 answered on 14 Mar 2011
7 answers
296 views
Hi all,

In the Media Manager config, I added the *.mov extension but when users add a mov file the player is Windows Media Player which can't play mov files.

How can I configure Telerik to use quicktime when the media is a .mov file ?

mhmoud
Top achievements
Rank 1
 answered on 13 Mar 2011
1 answer
128 views
Hello

I have a RadTextBox that after it get's populated with "Tuff Stuff&#8482; Sky Blue Rectangular Carpet - 6` x 9`" value breaks future AJAX requests. The error is Message: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500. 

Obviously it's that certain value that causes the problem. Using HtmlEncode on it fixes the problem however I'd like to get the text displayed as-in. I also don't need it edited, it's just read-only.

Any tips?

Regards
Mihai
Mihai Dinculescu
Top achievements
Rank 1
 answered on 13 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?