Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
91 views
In a grid with an edit form when the EditMode="PopUp" the OnPopUpShowing event is available.
I need to have EditMode="EditForms" and i need to run some javascript code before the forms loads.
but it doesn't seem like the OnPopUpShowing works when EditForms is selected. Is there any other settings or work around that i can use?
I haven't been able to find anything, any tips?
Viktor Tachev
Telerik team
 answered on 18 Dec 2013
1 answer
96 views
I have a RadToolBar with 3 buttons. The first to are standard buttons while the last one has an ItemTemplate. The item template has a combo box in it. Now the problem I found is that the combo box is always disabled. The only solution I found was to add an empty ToolBarButton to the end.

Here is my code

<telerik:RadToolBar runat="server" ID="TSiToolBar1"Width="100%" BorderWidth="2" BorderColor="#E5E5E5" 
                                OnClientButtonClicked="OnFormulaToolBarButtonClicked">
                            <Items>
                                <telerik:RadToolBarButton runat="server" Text="Create" />
                                <telerik:RadToolBarButton runat="server" IsSeparator="true" />
                                <telerik:RadToolBarButton runat="server" Text="Copy" />
                                <telerik:RadToolBarButton runat="server" IsSeparator="true" />
                                <telerik:RadToolBarButton runat="server" Value="FormulaComboBoxToolBarButton">
                                    <ItemTemplate>
                                        <div style="padding-left: 6px;">
                                            <telerik:RadCombobox runat="server" ID="CopyFormulaComboBox" Width="200" AutoPostBack="true" 
                                                                OnSelectedIndexChanged="UseExistingComboBox_SelectedIndexChanged" />
                                        </div>
                                    </ItemTemplate>
                                </telerik:RadToolBarButton>
                                <telerik:RadToolBarButton runat="server">
                                </telerik:RadToolBarButton>
                            </Items>
                        </telerik:RadToolBar>


The last empty toolBarButton is there only to make the combobox enabled
Nencho
Telerik team
 answered on 18 Dec 2013
5 answers
1.0K+ views
Hi Telerik
I am using Upload / Silverlight RadUpload , I have problem that everytime I upload files, those files remain in uploadfiles method or array.
I want to clear those previous files name once they uploded. when ever I upload one file and save file info into database then try to upload another file this time it will loop though old uploaded file also and new one also.

I want to delete uploaded files from memory only not disk once they uploaded and if I upload new file it should show only new file not previous uploaded files.

I have Upload / Silverlight RadUpload and one button on form within RadWindow and I am using Radajax

What I am doing
Steps
1. Upload file 1 using Upload / Silverlight RadUpload
2. Click on Button to retrieve uploaded files info to store in database
3. Now I want to upload file 2 so i selected file 2
4. Click on button to retrieve uploaded file 2 but this time it will show me file 1 and file 2 also


If i repeat thoese steps it will show me all files again while i save thier info.
only one way I have found to clear it is to refresh page but I am using Radajax and I dont want to refresh


Also please tell me is thier any way to change thier file name while uploading..


reply me please asap urgent



Kind Regards:
Harinder Singh
McConnell Dowell SEA
Genady Sergeev
Telerik team
 answered on 18 Dec 2013
2 answers
46 views
Hi,  

I want to hide the 2 lines that appear to the left and right of an event on the month view.  These are pictured in the attached sample.

How would I do that?

Many thanks,

Jon

Jon
Top achievements
Rank 1
 answered on 18 Dec 2013
3 answers
204 views
Hi,

Can someone tell me how to open window file dialog when focus is on Radasyncupload control and user presses "enter" key on keyboard.

Regards,
Jai
Shinu
Top achievements
Rank 2
 answered on 18 Dec 2013
3 answers
272 views
hello all ,

I have a radgrid that contains a Template column with radnumericTextBox ,
Users will fill these numericTextBox, every textbox should have a value less than previous one ,

<telerik:GridTemplateColumn HeaderText="value" UniqueName="value">
<ItemTemplate>            
 
<telerik:RadNumericTextBox runat="server" ID="value" NumberFormat-AllowRounding="false" >
     <NumberFormat GroupSeparator=""/>
    <ClientEvents OnValueChanged="checkValues" />  
    </telerik:RadNumericTextBox>
</ItemTemplate>           
 
</telerik:GridTemplateColumn>

if user add 20 in first row ,
second row should contains 20 or less ...

in "checkValues" function , i want to read value of previous row to compare with current value ..
how can i get it based on row index ?



How can i achieve this task ?
Loyal User
Top achievements
Rank 1
 answered on 18 Dec 2013
2 answers
87 views
Hi,

I am trying to get a client side event to fire when the close ('X') button is clicked while trying to Create a new appointment in the RadScheduler. My client side event doesn't get called.

Any ideas on how to get this to work?

Here is my client side code.

$telerik.$("#RadScheduler1_Form_AdvancedEditCloseButton").click(function () {
                alert('Clicked');
                InsertCancel();
            });

Insert Cancel is a function I created to do something else. But I can't even get the alert to show anything.
Tried debugging in Chrome but it never stops on this line.

Thanks,
Kevin
Plamen
Telerik team
 answered on 18 Dec 2013
3 answers
161 views
Hi!

I have a problem with events not triggered the second time in RadOrgChart.
In my project I need both to add and remove nodes. Adding nodes works really nice with the drag and drop functionality, but removing is more complicated. To solve this I added an asp:Button inside the ItemTemplate that fires the event of removing a node. This works fine when removing one node. But when I try to remove the next node the event will never get fired - what happens is that I get a postback (because of the button) but it never triggers the event. On the other hand, if I again try to press the button, the event will be called. I am working with dynamically created data so to be certain that the behaviour is not depending on this I tried changing the RadOrgChart to an asp:Repeater to test the behaviour, but this case proved to work - the remove event was called every time when using the Repeater. This leads me to believe there is some sort of bug with RadOrgChart. To be perfectly clear about what I did, I'll give you the aspx code and the situation step by step:

1. Page is loaded. I press the button of one of the nodes and the delete event is called, which removes this node.
2. I press the button of another node (because my first node is deleted) and I get a postback, but the event is not fired.
3. I press the button of the same node as (2) and I get a postback AND the event gets called.

<telerik:RadOrgChart runat="server" ID="RadOrgChart1" DataTextField="Name" DataFieldID="ID" DataFieldParentID="ParentID">
    <ItemTemplate>
        <asp:Button runat="server" ID="ButtonRemoveBox" OnClick="ButtonRemoveBox_Click" />
    </ItemTemplate>
</telerik:RadOrgChart>

Is this a know bug or what could I do to trigger the event? (I could of course do a Response.Redirect() in my event to the same page but that is a nasty solution)
Thanks for helping!
Plamen
Telerik team
 answered on 18 Dec 2013
3 answers
140 views
In the documentation under Unsupported Scenarios, the problem of a server farm is described.  This makes sense, but I'm  not sure I understand the workaround using Session state:

"To avoid this behavior, you should store the BinaryImage in the Session, and configure your server environment to use out of process Session State (i.e. the Session object is shared among different processes and servers)"

How would I use the BinaryImage control with Session state?

I don't see an "ImageStorageLocation" property, such as is used by RadCaptcha to solve this problem.

Thanks
Angel Petrov
Telerik team
 answered on 18 Dec 2013
1 answer
117 views
Dear Support team,

We are looking for the solution for the issue on our radgrid which we are trying to show the detailtableview.

We are expecting the radgrid should be like this,

pls find the attachment and support me ASAP.

Eyup
Telerik team
 answered on 18 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?