Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
129 views
We are evaluating various html editor control and telerik is one of them. So far we have found telerik html editor to be very impressive viz-a-viz other vendors out there. There is one important feature we are looking for, seems to be missing from telerik is populating custom drop down from client side. This could be a make or break a deal kind of situation for us. To give you more details, here is the scenario. 

We have a page that has multiple tabs on it, one of the tabs accepts contact list, the list is a tabular screen, so users can enter multiple contacts, in this case all the operations are done on client side, the information is still not persisted on database. There is a second tab in which we show HTML Editor and we need a custom drop down. This custom drop down will show first and last name from the contact list that is populated by users on first tab page screen. As you can make out , the site is highly dynamic and doesn't do a round trip to server. 

We looked at this sample - http://demos.telerik.com/aspnet-ajax/editor/examples/customdropdowns/defaultcs.aspx 

But they are all populated from server side, in our case, we need to populate drop downs from client side. Would appreciate if anyone from telerik could shed a light on this issue, because our telerik evaluation has hit a roadblack. 

Cheers
Yogesh 
Rumen
Telerik team
 answered on 13 Apr 2012
1 answer
64 views
Hi,

Wondering if you can have different ascx forms for inserting informaiton and updating information, becuase sometimes I do not want they to update all the information but only certain portions.  Is there a way to do via ascx pages or inline with the grid as well.

Thanks
Princy
Top achievements
Rank 2
 answered on 13 Apr 2012
2 answers
89 views
Is there a way i can attach one of my grid commands (In this case update all) to a standard radbutton? I can't find any info on this so your help would be greatly appreciated.
Shinu
Top achievements
Rank 2
 answered on 13 Apr 2012
1 answer
92 views
How can i show some values in template text box on page load (not from db).
Thanks............................
Shinu
Top achievements
Rank 2
 answered on 13 Apr 2012
9 answers
259 views
Hello,
I want to execute some when the client click on "Add New Record".
I'm build a template column. I need set text properties of this control by default "7".
If the client want to change it then it's allowed to change.

Source Code : 
<telerik:RadGrid ID="grdSettlement" runat="server" AllowFilteringByColumn="True" CellSpacing="0" DataSourceID="SqlDataSource1" GridLines="None" AllowAutomaticDeletes="True" AllowAutomaticUpdates="True" AutoGenerateColumns="False" AllowAutomaticInserts="true" OnInsertCommand="grdSettlement_InsertCommand">
 
Column Source Code :
 
<telerik:GridTemplateColumn DataField="NO" FilterControlAltText="Filter NO column"
                HeaderText="NO" SortExpression="NO" UniqueName="NO" DataType="System.Int64">
                <InsertItemTemplate>
                    <telerik:RadNumericTextBox runat="server" ID="No">
                    </telerik:RadNumericTextBox>
                </InsertItemTemplate>
                <ItemTemplate>
                    <%# Eval("NO") %>
                </ItemTemplate>
            </telerik:GridTemplateColumn>


So, for this I want to set the text of RadNumericTextBox "7".
Help me to Solve this...
Shinu
Top achievements
Rank 2
 answered on 13 Apr 2012
0 answers
67 views
Hello, I have been trying to add a list with the following items

NAME
ADDRESS
SITE
So basically i created a List<string> srs  = new List<string>(); and bind it to the RadListView, but i dont understand how all that javascript and what other things i need to make this list draggable to a RadEditor, for example when the user drags NAME into the RadEditor it should add
[[NAME]] to the editor so it will look like this

The customer [[NAME]] has bought 10 items and they will be shipped to [[ADDRESS]] .

Thats how i need it to read in the editor so , if i drag NAME it should add that [[NAME]], this is to create templates. But to be honest.. I dont quite understand what i need from this example, i am lost. Any help would be much appreciated (to many things to track, javascript, etc.. and all those functions with the music stuff confuses me). I am new to the developing workd so would appreciate a simpler example.

http://demos.telerik.com/aspnet-ajax/listview/examples/itemdragdrop/defaultcs.aspx 
Edwin
Top achievements
Rank 1
 asked on 13 Apr 2012
0 answers
91 views
I have linked RadAjaxLoadingPanel with the button and radgrid to upload a excel sheet.

When i click the button it should validate the excel sheet and throw message if it is a invalid file.

but if i use RadAjaxLoadingPanel the button click doesn't show me the validation message which is written in javascript.

Please help me.
Manoj
Top achievements
Rank 1
 asked on 13 Apr 2012
1 answer
196 views
Hello,

Is it possible to use an image (diagonal lines) as the background for the Modal feature on a RadWindow?

I have tried this option below, however it does not work:

.TelerikModalOverlay
{
    background-image: url('icons/modalBackground.png') !important;
    background-repeat: repeat !important;
    filter: alpha(opacity=50) !important;
    opacity: .50 !important;
    -moz-opacity: .50 !important;    
}

Any suggestions on how to achieve this?

Regards,

Steve
Steve
Top achievements
Rank 1
 answered on 12 Apr 2012
0 answers
77 views
I have a file explorer using asyncupload. I added a radconfirm when the user closes the upload window letting them know that that action would cancel any files being uploaded. The problem is that if the user clicks cancel instead of ok in the confirm window when they return to the upload window all the uploaded files have been canceled. Is there a way to prevent this? Here is the function I use:

function OnClientLoad(oExplorer, args) {
            var oWindowmanager = oExplorer.get_windowManager();
            function resetUploadWindow(oWindow, args) {
                if (oWindow.get_id().endsWith("Upload")) {
                    function onClientBeforeClose(sender, arg) {
                        function callbackFunction(arg) {
                            if (arg) {
                                sender.remove_beforeClose(onClientBeforeClose);
                                sender.close();
                            }
                        }
                        arg.set_cancel(true);
                        radconfirm("Warning: If you close this window before the file(s) have completed uploading and before clicking the upload button, the file(s) will not be saved. Do you want to close the upload window?", callbackFunction, 400, 100, null, "Warning");
                    }
                    oWindow.add_beforeClose(onClientBeforeClose);
                }
            }
            oWindowmanager.remove_show(resetUploadWindow);
            oWindowmanager.add_show(resetUploadWindow);
        }

Thanks!
Jed
Top achievements
Rank 1
 asked on 12 Apr 2012
1 answer
75 views
Hi,

I need to identify the row expanded or collapsed on the client side when the client events "GroupExpanding" or "GroupCollapsing" is called.

<ClientSettings AllowGroupExpandCollapse="true">
                <ClientEvents OnGroupExpanding="GroupExpanding" OnGroupCollapsing="GroupCollapsing" />
            </ClientSettings>   

        function GroupExpanding(sender, eventArgs) {
            alert("GroupExpanding is fired");
        }

        function GroupCollapsing(sender, eventArgs) {
            alert("GroupCollapsing is being fired");
        }
Please let me know how do i identify the row index that was expanded/collapsed, i checked the documentation and found nothing regarding this.

Thanks and regards,
Damodar
Richard
Top achievements
Rank 1
 answered on 12 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?