Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
95 views
I am using the OnReordered event of a listbox to obtain the item index and the item value of an item being dragged and dropped.  The item index does correctly represent the place in the list that I dropped an item. If I drag and drop within the same list, everything works as expected. My issue is that when I drag and drop from another listbox, the item value reflected is not the value of the item being dropped, but the value of the last item in the listbox. Is this a bug or is this designed this way? Any ideas for a workaround? Thanks!
Protected Sub listAssigned_Reordered(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadListBoxEventArgs) Handles listAssigned.Reordered
      For Each item In e.Items
          OrderNode(item.Value, item.Index)
       Next
   End Sub
Veronica
Telerik team
 answered on 03 Aug 2010
1 answer
97 views
Hi,

I am using RadComboBox with LoadOnDemand, is it possible to force the user to select a value from the drop down and prevent them from entering free text?

For example,

I have a RadComboBox for the country, I want to prevent user from entering asdf.

Regards,
Mark Liu
Simon
Telerik team
 answered on 03 Aug 2010
2 answers
167 views
I just sent this to the support department at Telerik before realizing that it would perhaps be more appropriate to post it here instead. Please forgive the fact that the text is phrased in a way that it was only ment to be read by Telerik personel.

I've been reading about about especially the RadGrid (I am a customer of yours) and have notices you mentioning the awesome performance of the RadGrid which is great. Now I am thinking, how should I as a developer make use of this in the best way, ie, how is it intended to be used. This is of course a question with many answers, but as far as I can see it, the whole idea, unless you have absurd amount of data, or maybe handle very large "blobs", must be that instead of writing stored procedures etc. that does the searching/filtering for you, you should load all the data into the RadGrid, and then let it do it's magic. What I mean is this, if you do a lot of filtering etc. before the data reach the RadGrid, much of the whole advantage with the great performance would be lost, wouldn’t it?

What I am thinking is kind of like this, making stored procedures (or similar) that takes a lot of parameters and does filtering/searching for you isn’t really that difficult, but it takes a lot of time to do, and then you have to make search forms for all these in your web pages on top of that. It would be much quicker if I could just say "Hey, the RadGrid says that it has great performance, and it also offers great filtering capabilities, let's use that instead and save a lot of time!". Is this the intended usage you had in mind when putting in a lot of effort in optimizing the RadGrid performance? Do you have some recommendations, best practices or similar on how to use it, when not to use it etc? Have you done any benchmarking or similar that I as a web developer can use when my DBA comes knocking on the door screaming about that I load all the data from the database?

I hope you understand my questions here, and I know there isn’t an exact answer to this, and that isn’t really what I am looking for, but rather more guidelines on how to use this in a good way!

Pavlina
Telerik team
 answered on 03 Aug 2010
1 answer
76 views
Hi,

I want to implement a module in which user can assign jobs to the Workers.I have all active workers list in RadGrid.
Want to assign unique job mean no other job can be assign to the same worker at the same time.
I want to drag worker from Left Side RadGridView and drop them on RadScheduler for their respective job.
I know this is possible but how to achieve it ???
No idea how to implement this scenario.
Please help me out if any one has already developed.

Pushkar
Sebastian
Telerik team
 answered on 03 Aug 2010
4 answers
385 views
Hello sir

I want call radalert from codebehind.

----------  Code  ---------- 

 

 

public static void ShowMessage(Control control, string message)

 

{

 

 

ScriptManager.RegisterStartupScript(control, typeof(string), "Alert", "<script> window.alert = function (string) { radalert('" + message + "');</script>", false);

 

}

But it is not working.

please give me proper solution.

Thanks

Kishor Dalwadi

Kishor Dalwadi
Top achievements
Rank 2
 answered on 03 Aug 2010
1 answer
165 views
Hi,

We are using the newer version of Telerik. We faced issue with RadAsyncUpload Control on a SharePoint 2007 Site. It is asking for login and does nothing on selection of a file from browse window. It just keeps on loading the content and can see the progressbar rotating continuously.

We are surprised as this was working with Q1 release. 

Seems there are lots of issues going on with Q2 version of this control. Can someone help out in identifying a fix for it. 

We tried with custom handler and also internal build but nothing comes out.

Need this urgent. Please help.

Thanks,
Nutan
T. Tsonev
Telerik team
 answered on 03 Aug 2010
2 answers
77 views
In a RadGrid I use a user control for update and insert:

      <EditFormSettings UserControlName="DetailsDetails.ascx" EditFormType="WebUserControl">
        <EditColumn UniqueName="EditCommandColumn1"></EditColumn>
      </EditFormSettings>

Whenever the "New" is clicked in the radgrid command item template the user control loads find, however the radgrid now displays the last page.

How/where do I set pageindex when the new button is clicked?
Morten
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 03 Aug 2010
1 answer
86 views
Hi,

Am setting the display status of the columns based on condition in prerender event.

When i set display status of a column to false the one successive column also gets the display status false.

But when i use visible attribute for the same it works fine.

Provide me with a solution.


Regards

Sathya
Mira
Telerik team
 answered on 03 Aug 2010
1 answer
52 views
I am uisng the latest release version of radcontrols in visual studio 2010 in a net4 project.

I have a RCB on my main form inside a rad ajax panel with autopost=true.
When I change the selected index of the radcombobox at the server side it runs the rcb_selectedindexchanged function. Inside this function I call the radajaxpanel.responsescripts.add function to call a javascript routine to open the radwindow.

The rad window winodw pops up fine and i can close the window no problems.

Once the modal window closes though the combobox seems to be in a disabled state (for instance I can no longer drop the list down to select another item).

I have tried setting the radwindow modeless and then trying the combobox before closing the window and I still can no longer use the combobox but I can use other controls on the page?

its as though as soon as the radwindow shows it disables the radcombobox and then does not re-enable it?

Is there anyone there who has seen the behaviour before and could shed some light on how to fix this for me please?
Yana
Telerik team
 answered on 03 Aug 2010
3 answers
76 views

Who would I do visual editing of a template for a RadControl embedded within a user control?

Thanks for your help.


Sebastian
Telerik team
 answered on 03 Aug 2010
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?