Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
93 views
I have a simple generic list
List<WrapperViewModel> viewModels = new List<WrapperViewModel>();
 
viewModels.Add(new WrapperViewModel("Paul", 45));
viewModels.Add(new WrapperViewModel("Hannah", 36));
viewModels.Add(new WrapperViewModel("Joshua", 22));
viewModels.Add(new WrapperViewModel("Tissie", 6));
 
which I bind to a grid. I let the grid generate the columns. On the PreRender, I set everything to edit
foreach (GridDataItem item in RadGrid1.Items)
{
    item.Edit = true;
}

And my grid appears with my data in it, although annoyingly, the last row is selected.

If I change a value in the Grid, how do I get the updated value back at the server? If I access the grid items DataItem, it is always null. I was expecting the DataItem to be a regenerated version of the object I originally did the bind with. I've been following threads around but I still cannot get this simple scenario to work. The MVC demo web site has a new feature 'Keyboard Navigation' which shows the kind of behavior I want.

Anyone got a working sample?


Iana Tsolova
Telerik team
 answered on 22 Jul 2011
4 answers
279 views
Hi guys. I need to implement this ajax funtionallity.
I've a RadMenu databinded with SQL Server.
When I put the mouse pointer over the last menuitem of one hierarchy, I need to pass a custom attribute with a URL to a WCF service and populate a Menu Template with all data returned, (this comes from a document library of sharepoint).
How i can to do this?

Thanks

Charly
Sérgio
Top achievements
Rank 1
 answered on 22 Jul 2011
1 answer
72 views
Hi

I have used radgrid in my webpart coding (for MOSS 2007). The rad grid has 4 columns (width of each 58+505+200+99=862). I am trying put 4 diiferent images in the Radgris header columns. the total width of the 4 images is 58+505+200+99 = 862. The images are not fit exactly. It makes vertical white line or hide the other column image.

The radgrid is placed in 870 width <TD>. What is the problem?.

Thanks in advance,

Marin
Telerik team
 answered on 22 Jul 2011
1 answer
114 views
we are using the 2011.1.519.35 version of telerik.
We are trying to build a autocomplete functionality on a Radcombobox and to make it look like a text box.

I want to pupulate the autocomplete results by using a .ashx returning me a list of strings i need to display as autocomplete suggestions.

can someone help me to trigger this via a client side event like 'onItemsRequesting'. we want to trigger only if the text eneterd is greater than 2.????

My combobox looks like

 

<telerik:RadComboBox CssClass="radtextbox" AllowCustomText="true" ID="lastOrTrustNameTextBox"

 runat="server" ShowMoreResultsBox="True" EnableLoadOnDemand="True" ShowToggleImage="false"

 Style="margin: 20px auto; display: block !important;" OnClientDropDownOpening="HandleDropDownOpening">

 </telerik:RadComboBox>
function HandleDropDownOpening(sender, args) {

 args.set_cancel(true);

 }

 

 

 

Cat Cheshire
Top achievements
Rank 1
 answered on 22 Jul 2011
0 answers
93 views
Dear Telerik,

I have a problem which I don't know the reason. I have a RADCOMBOBOX in a .ascx file. when i set it's data source with asp:datasource or in the code behind with .datasource, it would works fine. but the problem will come when i want to update it's selected value with another control via RADAJAXMANAGER.

The RADCOMBOBOX holds a list of particular doctors. when i want to edit a row in the gridview, i have to change the main-edit-form RADCOMBOBOX selectedValue to the record's doctor id (to display it's name as the current stored doctor). but it didn't do any thing while i don't put the RADCOMBOBOX "Id" in RADAJAXSETTINGS. The problem will go further when i put it's "Id" in RADAJAXSETTINGS (the section which belongs to my datagrid). when i put it's configuration there, the edit form would not lunch at all. it was too amazing for me, Why it should not work this way??? Last day and night i was trying to fix this problem by myself and by google it. but no success achieved.

Regards
r4dn3t
Top achievements
Rank 1
 asked on 22 Jul 2011
1 answer
56 views
Sorry for another n00b thread, but didn't want to compound my error by hijacking the other one.

We're using the RadComboBox control solely for the tool tip capability.  We have all of the data ahead of time, no need for ajax love or anything, nor any need for UI bling.  Can we trim it down to the barest essentials?  Any suggested configurations?

Thanks!
Dimitar Terziev
Telerik team
 answered on 22 Jul 2011
1 answer
75 views
Trying to think of a way i can accomplish this with ajax. On each of my radtabs, i have a number of form input controls. What i'd like to be able to do is only enable the next tab, when all of the controls have been populated with a value.

Is there a way i can accomplish this ? I know i could prevent the user from clicking on a tab by setting its causesvalidation property to true and then putting some requiredfieldvalidators on my textboxes/combos, but is this the only way i can achieve it ?

Regards,

Alan
Dimitar Terziev
Telerik team
 answered on 22 Jul 2011
9 answers
212 views
Hello!

Please, can you tell me: how can i move 1-level items of the panelBar, when one of them was clicked?
For example:
panelBar:
item 1
item 2
item 3
When i click on the item, for example, "item 2", i want the result:
item 1
item 3
item 2
Note: this result i want get without postback, but after postback this result must be (perhaps, must use trackChanges-commitChanges).

Thank you.
Nikolay Tsenkov
Telerik team
 answered on 22 Jul 2011
1 answer
78 views
Hi
I want to user RibbonBarTemplateItem to build my RibbonGroup layout and structure of it's items.(for example a table and ribbonbar items inside the table's columns)
but when I put other ribbonbar items like RibbonBarToggleList or RibbonBarButton inside it , I get an error or nothing is displayd.
Have I done anything wrong ?

and also I have problem with textboxes : 
if you put a textbox inside a RibbonBarTemplateItem , the it can Not get focus when your left click on it.
I have FireFox 4 and Chrome and they have this problem .(not IE)

Thanks for your feedbacks
Nikolay Tsenkov
Telerik team
 answered on 22 Jul 2011
1 answer
99 views

In RadCombobox i bind tree View how i clear the selected tree view value

Thanks,
Mohamed.
mohamed
Top achievements
Rank 1
 answered on 22 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?