Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
89 views


http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multicolumncombo/defaultcs.aspx

 

Please find the attached screenshot.

I just followed the same code for implementation, but the
chosen value get changing to the first item ‘Ana Trujillo’.

The above scenario only happening whenever exist the
duplicate values of ‘Title column‘.

 

Ex: In my scenario ItemDataBound event
Text is ContactName and Value is Title.

The ComboBox data binding happens only once on page load
in page life cycle.

 

The failure case at the movement is considering the
selection item get changes the item to first instance of the duplication of the
‘Title’ column.

Any help please.

Nencho
Telerik team
 answered on 12 Jan 2015
1 answer
119 views
Hi,

I have a custom control which works as a pager: it's a RadListView in which each element is sort of a button which postbacks

This ascx is used in 2 projects; in the first one everything works like a charm: when a button is clicked, the event is raised and handled by the ascx
In the second one, however, something went wrong: clicking on the button does the postback, but does not fire because, I've discovered, the target isn't there no more

In practice, in project 1 the RadListView re-create its items (as stated here), while in the second one items are not created after the button's postback
Since the button isn't there, __EVENTTARGET is null and the event fails

Both projects are quite knotty, since have a main page, the pager ascx and the button (which is an hyperlink child class object), and I can't post'em publicly.. but a smaller project would of course work, such the project 1 does, so I can just wonder what went wrong without reproducing it

I think there's little I could broke since the ItemCreated should occur before the page_load, but clearly something is different and I don't know what could it be.. any ideas?

Thanks
Konstantin Dikov
Telerik team
 answered on 12 Jan 2015
1 answer
41 views
I have a RadGrid with paging and sorting enabled.  On first load, the page size dropdown works well - i can select a new page size.  But once i do so, the page size selector stops working, although the page size i previously selected is remembered.  There doesn't seem to be any script errors on the page.  What can cause such behaviour?
Pavlina
Telerik team
 answered on 12 Jan 2015
1 answer
281 views
I am trying to use the ASP.NET 4.5 Model Binding features of RadGrid in version 2013.3.1114. My SelectMethod is defined in a Business Object. RadGrid throws an exception indicating that it cannot find the method on the page.

I have implemented the OnCallingDataMethods event:

protected void CallingDataMethods(object sender, CallingDataMethodsEventArgs e)
{
    e.DataMethodsObject = new BLL();
}

However, RadGrid still attempts to locate the SelectMethod on the page object. Using the OnCallingDataMethods event of RadComboBox works correctly, so I am surprised that it is not working for RadGrid.

Has this been resolved in newer versions of RadGrid? If not, what are my options?
Konstantin Dikov
Telerik team
 answered on 12 Jan 2015
0 answers
78 views
When i sort my grid i get Z before a,b,c,d,e,f 

How do i solve it?

i use vb.net MVC

Urgent!
Offir
Top achievements
Rank 1
 asked on 11 Jan 2015
1 answer
62 views
Here is the code I tried to store the data in binary format for the uploaded file.....................



protected void Button1_Click(object sender, EventArgs e)
{
    int PartyRowId = 0;
    foreach (UploadedFile file in AsyncUpload1.UploadedFiles)
    {
        byte[] bytes = new byte[file.ContentLength];
        file.InputStream.Read(bytes, 0, Convert.ToInt32(file.ContentLength));
        string json3 = "{'PartyRowId':" + PartyRowId + ",'CommonCategoryRowId':" + PartyRowId + ",'CommnonCategoryAttributesRowId':" + PartyRowId + ",'PartyDoc':" + bytes + "}";
        string status = ClsUtility.HttpPost("http://localhost/ServiceWrapper/MetaData.svc/PartyDocumentsID", json3);
 
    }
}


i get the Json as


{'PartyRowId':0,'CommonCategoryRowId':0,'CommnonCategoryAttributesRowId':0,'PartyDoc':System.Byte[]}


not able to retrieve the binary data Please help me......



Gopi
Top achievements
Rank 2
 answered on 10 Jan 2015
1 answer
110 views
In a RadTreeList I need to show only the first 50 chars in a specific column unless a session variable is valid.

<telerik:TreeListBoundColumn UniqueName="TextM" DataField="TextM" HeaderText="Message" HeaderStyle-Width="400">
 <HeaderStyle Width="400px" ></HeaderStyle>
</telerik:TreeListBoundColumn>

Is there a way to achieve such feature?

Thanks for supporting,

Felice
Felice
Top achievements
Rank 1
 answered on 10 Jan 2015
4 answers
129 views
Hi,

I am using the skin Office2010Silver but i have a problem when selecting a row in the treelist. The background changes when the row is selected but it does not took up all the row.
It is like it was prepaired for rows of a specified height but my rows are a bit higher.

How can i solve it? Thank you.

Pavlina
Telerik team
 answered on 09 Jan 2015
1 answer
67 views
Hello

i m fighting with telerik Scheduler and it s the same with all component.

Each Sample :
we miss example with telerik Data Access,
we have a code c# or vb or aspx don't match with the sample.

And each method for the Scheduler are limited.

We want to Find Control with AppointmentCreated (or other if you have)
And get the Datasource to Show in my template control, like textbox or other.

this code doesn't work inside Appoinment Created :

var oAgendaBo = (agenda)e.Appointment.DataItem;


It's not normal, we are always limited, or find a border line idea and we spent a lot time to use some control.
Hristo Valyavicharski
Telerik team
 answered on 09 Jan 2015
1 answer
96 views
Hello everyone,
I'm working with radAutoCompleteBox.
Is there a way to select an item from Javascript?

Thanks
Aneliya Petkova
Telerik team
 answered on 09 Jan 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?