Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
324 views
Hello,
This is what I need to achieve.
I have a radgrid. I have few columns. In one of the columns (I have a combobox here), I will select a user. I have a column in this grid, that has a file attachment in it. Another column in this grid is a button - "SendMail". On Click of this buttton, I have to send the mail to the user whom I have selected from the dropdown with this attachment. Please help me how I can do this.
Thanks and Regards,
Deepika Karanth
Tsvetina
Telerik team
 answered on 06 Mar 2012
3 answers
310 views
Hi,
Is it possible to set a node's checked state to indeterminate even if it doesn't have child nodes?
And I want to do it in clinetside.
Regards.
Bozhidar
Telerik team
 answered on 06 Mar 2012
1 answer
215 views
Hi!
Here's the thing, i was looking for a grid filtering with a date range on a column, i found the example on the follwing link: http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filtertemplate/defaultcs.aspx

I did exactly the same and works great!, but now i want to load the radGrid datasource with a WebService, not with a SqlDataSource like in the example. I tried some options but the filter on the datePickers get lost after postback, i mean, the date i selected get lost from the control but the filter executes fine. It seems only with SqlDataSource works fine.

What options do i have? is possible to do this?


Thanks for helping me out.
Antonio Stoilkov
Telerik team
 answered on 06 Mar 2012
2 answers
101 views
Hi,

How do I localize and/or customize and/or remove the red part in the enclosed picture.

Thank You
Arnaud
arnaud
Top achievements
Rank 1
 answered on 06 Mar 2012
1 answer
121 views

Hi,

I have set the (Height,width) as (250px,340px) to the radchart.This radchart is placed inside a <td> of a normal html table. I have never set a div around the radchart. But still its showing a <div> with fixed (H,W) as (300px,400px) as in the attached image. Because of this auto-div and its (H,W) settings, there is a space inside this <td> as shown in the image. Please tell me how can I remove this space and make the chart to fit in the <td> exactly.

Thanks in advance,

Petar Marchev
Telerik team
 answered on 06 Mar 2012
1 answer
118 views
Hello,

I'm trying to bind a treeview to a list(of CustomClass) where the custom class has "StartTime" and "Group" properties.

Is there some way I could group (into a node hierarchy) by the date parts of the start time? So, at the top level would be "StartTime.Date", that would expand to show all values of "StartTime.Time" for that Date, then those would expand to show all values of "Group" for that start date and time - that kind of thing?

Thanks,

Mike
Bozhidar
Telerik team
 answered on 06 Mar 2012
4 answers
98 views
Hi, here's the situation:

I have an asp:FormView w/ its corresponding ObjectDataSource and a bunch of fields. One of these fields is a usercontrol which contains a RadGrid and an associated ObjectDataSource. On the backend, I'm using entity framework 4.1.

Let's say I'm display a project in the formview. This project has several clients. The RadGrid is displaying the clients associated to the project and their information.

I have a save button at the top of the page to save all the information when I am in edit mode on the formview. In addition, when the formview is in edit mode, the RadGrid is also in edit mode.

When I click on save, I call the FormView.UpdateItem method. This calls the updatemethod of the ObjectDataSource associated with the FormView, allowing me to save the data specified in the regular fields.

Now this does not allow me to save the information that is specified in the RadGrid.

I tried manually firing the Update command of the radgird, thinking it will call the UpdateMethod of the ObjectDataSource associated to it, but that didn't work.
I thought that a possible solution would be to add a Parameter of type "Object" to the Formview's ObjectDataSource, and then sending a datatable or similar in the ObjectDataSource_Updating event, but I'm not sure how efficient that is, or if it's the best solution (or if it's even possible).

So my question: Does anyone know how I can save the information in the RadGrid which is within the formview when I press the Save button?

Thank you.
Marin
Telerik team
 answered on 06 Mar 2012
4 answers
459 views
Hi,

Is it possible to open a RadContextMenu on RadButton left click only? I was only able to open the context menu with right click but not with left click.

Thanks in advance,
Michael Pinheiro
Shukhrat Nekbaev
Top achievements
Rank 1
 answered on 06 Mar 2012
3 answers
203 views
hi there,

i have a problem with radgrid pageIndexChanged. i have a combobox where allow user to select state. when user select state, the radgrid will display all the data of selected state. but, when user want to go to next page, the data on grid was not based on the previous selected. i'll try to do PageIndexChanged event but error appear which is
'RadGrid1_PageIndexChanged' is not a member of 'ASP.default_aspx'."

my code is like below:

aspx

<telerik:RadGrid ID="RadGrid1" runat="server" CellSpacing="0" 
        DataSourceID="SqlDataSource1" GridLines="None" AllowFilteringByColumn="True" AllowSorting="True" PageSize="15"
            ShowFooter="True" AllowPaging="True" OnPageIndexChanged = "RadGrid1_PageIndexChanged" >

vb.net

Private Sub RadGrid1_PageIndexChanged(sender As Object, e As Telerik.Web.UI.GridPageChangedEventArgs) Handles RadGrid1.PageIndexChanged
        RadGrid1.CurrentPageIndex = e.NewPageIndex

'bind data based on selected state
        Dim str As String = "select username, name, levelAccess, description, status from [user] inner join par_branch on par_branch.id =         [user].branchNo where id = '" & RadComboBox2.SelectedItem.Value & "'"
        SqlDataSource1.SelectCommand = str
        SqlDataSource1.DataBind()
        RadGrid1.DataBind()
        RadGrid1.Visible = True

actually i always faced the same error for others telerik components. what it is about? anyone can help me?  


thanks in advanced.. 
Tsvetina
Telerik team
 answered on 06 Mar 2012
1 answer
66 views
Hi,

We were asked to perform functional test using QTP on an internally developed application. Currently, we are facing difficult time with the content type for return page. QTP consultant told us the issue we are facing was due to the wrong content type in the return page from the Telerik controller used in the code.

We are using the AJAX controls and Telerik always return content type of text/javascript for page with mixture of html and javascript. Someone told us the the correct content type should be text/html for this scenario.  

Is this a bug of Telerik? What we should do in order to get the correct content type?

By
Frustrated QA
Rumen
Telerik team
 answered on 06 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?