Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
160 views
I have a radgrid displaying user records and an hyperlink . on the click of the hyperlink I want to open up a radwindow which navigates to edituserpermissions page using the userID as a querystring. How can i achieve this. Any help please
Edd
Top achievements
Rank 1
 answered on 24 Mar 2014
2 answers
603 views
hi

what is the correct way to update the RadTextBox value in jquery?
when one field is updated, i need to update another RadTextBox.
the code bellow seems to update the text box but when i click inside the text box the field becomes empty, and when submitting it it's empty as well.
what am doing wrong?

   <telerik:RadTextBox ID="txtName" runat="server" Height="24px" ClientEvents-OnBlur="txtName_Blur">
   </telerik:RadTextBox>
   <telerik:RadTextBox ID="txtProductSiteNumber" runat="server" Height="24px">
   </telerik:RadTextBox>

        function txtName_Blur(sender, eventArgs)
        {
                var productName = sender.get_value();
                var txtProductSiteNumber = "";
                var txtProductSiteNumber = $telerik.$("#ctl00_ContentPlaceHolder1_txtProductSiteNumber").val();

                 $telerik.$("#ctl00_ContentPlaceHolder1_txtProductSiteNumber").val(productName);
                 $telerik.$("#ctl00_ContentPlaceHolder1_txtProductSiteNumber_text").val(productName);
        }

10x
lina
Lina
Top achievements
Rank 1
 answered on 24 Mar 2014
1 answer
191 views
Do we have client side equivalent of RADGrid's PageIndexChanged event?

Thanks
Eyup
Telerik team
 answered on 24 Mar 2014
1 answer
188 views
Hi,
 I am displaying a Code11 barcode with the Text . On decreasing the ShortLinesLengthPercentage, I recently found the text got very far from the barcode. I want to control position of text How can I fix this?
Thanks
Angel Petrov
Telerik team
 answered on 24 Mar 2014
1 answer
179 views
Hi All

please see attached picture first

I Have 3 questions

1. How can I add Add new record button for Insert like sample
    How change text of it ?

2. How can I change text of Edit ? (telerik:GridEditCommandColumn)

3. How can I have Refresh button like sample ?
    How change text of it ?


Princy
Top achievements
Rank 2
 answered on 24 Mar 2014
3 answers
203 views
I have a grid where users can open the rows in edit mode to perform updates, and they can also select the rows and perform actions on those selected rows.  The problem is that a row in edit mode appears to be seen as selected by default from what I am seeing. 

Therefore, if my application wants to perform certain actions on selected rows and there are rows in edit mode at the same time, it will apply those actions to the rows in edit mode as well.  Since I can't seem to find a way to seelct rows in edit mode and have them show in the grid as selected, how do you get around this?  it's possible the user may want to select both rows in edit mode and rows not in edit mode at the same time and apply actions to both.

Is there any way to visually select a row in edit mode?

Thanks
Morten
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 23 Mar 2014
4 answers
152 views
Greetings,

Is it possible to allow only certain rows within a grid to be selectable?  Here is the scenario:  you have a set of users, say 20.  They have a grid that logs comments, which has the ability to add and edit comments (it's EditMode is PopUp).  There is a set of users, primarily webmasters, who can edit anyone's comment, while everyone else can only edit their own comments.  To edit, you must select a record and hit the edit button.  What I want to do is to stop a user from being able to select that record either by stopping them in javascript or not allowing the row to be selectable at all.  Thanks.

Chad
Morten
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 23 Mar 2014
2 answers
157 views
I used the below link for performing a 'select all' using javascript and it worked perfectly.
http://www.telerik.com/forums/highlight-a-word-in-radeditor

However, when trying to do the same for 'Copy', it does not work. There is no error thrown.
'Allow programmatic access to clipboard' has been enabled in IE8 security settings.
Using ToolsFile.xml to define controls.

Note: Clicking the editor's 'copy' button works fine, but I need to fire this programmatically.

Actual Code:

<telerik:RadEditor runat="server" ID="RadEditor1" OnClientLoad="StartWithPreviewMode"
StripFormattingOnPaste="NoneSupressCleanMessage" EditModes="Design,Preview" ToolsFile="ToolsFile.xml">

<script type="text/javascript">
function PerformCopy() {
var editor = $find("<%=RadEditor1.ClientID%>");
editor.fire("SelectAll");
editor.fire("Copy");    //--> Does not copy anything to clipboard.

function StartWithPreviewMode(editor, args) {
editor.set_mode(4);
}
</script>
Pramod
Top achievements
Rank 1
 answered on 21 Mar 2014
2 answers
780 views
I have followed this code before and for different things I was doing it worked fine.  But in this situation I am stumped on how to tie it all in.  On my radwindow close when I press the x i wna the window to close and then the page to refresh.  I tried calling the close window function inside the pagerefresh but it doe snot work.  I can call one or the other  but not both.  If I just call the pageRefresh it leaves a white space on page before it refreshes and looks tacky, So I figure if I can close it then refresh the page it should looke good.
<telerik:RadWindowManager ID="rwManager" runat="server" CenterIfModal="true" Modal="true" Animation="FlyIn" Behaviors="Close" Skin="Web20"  ReloadOnShow="true" VisibleStatusbar="false" OnClientClose="RefreshParentPage">
              <Windows>
                  <telerik:RadWindow ID="rwdelete" runat="server" NavigateUrl="~/MAC/Delete.aspx" Width="600px" Height="300px" ShowContentDuringLoad="false"></telerik:RadWindow>
                  <telerik:RadWindow ID="rwChange" runat="server" NavigateUrl="~/MAC/Change.aspx" Width="800px" Height="600px" ShowContentDuringLoad="false"></telerik:RadWindow>
                  <telerik:RadWindow ID="rwNew" runat="server" NavigateUrl="~/MAC/NewUser.aspx"></telerik:RadWindow>
              </Windows>
          </telerik:RadWindowManager>
 
 
 
function GetRadWindow() {
           var oWindow = null;
           if (window.radWindow) oWindow = window.radWindow;
           else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
           return oWindow;
       }
 
       function closeWindow() {
           var oWnd = GetRadWindow();
           oWnd.close();
       }
 
       function RefreshParentPage() {
           document.location.reload();
       }






Kevin
Top achievements
Rank 1
 answered on 21 Mar 2014
7 answers
315 views
Hi,

I have a radgrid in which i am using filter functionality,when i enter some text on one of the column and press tab the focus gets lost whereas i want the focus on next radgrid column, i am not able to do so.


Please suggest.


Thanks.
Viktor Tachev
Telerik team
 answered on 21 Mar 2014
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?