Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
114 views
Hi,

I've a gridclient slect column in my radgrid. when the datasource is null, I bind the grid , bind the datasource to the dattable.
The radgrid displays no records to display which is fine. But the Gridclientselect column in the header (with other columns) is by default checked. I wANT THE HEADER GRIDECLIENTSELCT COLUMN TO BE UNCHECKED WHENTHERE ARE NO ROWS? HOW DO i DO THIS?
Princy
Top achievements
Rank 2
 answered on 14 Dec 2009
1 answer
118 views
Hello Telerik-team,

I have a Question to EditMode="InPlace" and Update-Funktion.

We want to use the EditMode="InPlace" und update the Database via an objectDataSource but it doesn't work:

ASPX
                                                <telerik:RadGrid DataSourceID="odsZahlungsmoeglichkeiten" ID="RadGrid1" runat="server" > 
                                                    <MasterTableView DataKeyNames="ZahlungsID" EditMode="InPlace" > 
                                                        <Columns> 
                                                            <telerik:GridEditCommandColumn EditText="bearbeiten"  /> 
                                                        </Columns> 
                                                       </MasterTableView> 
                                                    <ClientSettings> 
                                                        <ClientEvents OnRowDblClick="RowDblClick" /> 
                                                    </ClientSettings> 
                                                </telerik:RadGrid> 
    <asp:ObjectDataSource ID="odsZahlungsmoeglichkeiten" runat="server" SelectMethod="GetZahlungsmoeglichkeiten" 
        TypeName="BSP.Adapter.AdpKunde"   
        OldValuesParameterFormatString="original_{0}"   
        DataObjectTypeName="System.Collections.Generic.List`1[[BSP.Adapter.DtoKundeZahlungsmoeglichkeit, BSP.Adapter, Version=1.0.0.3, Culture=neutral, PublicKeyToken=null]]"   
        UpdateMethod="UpdateZahlungsmoeglichkeiten">  
        <SelectParameters> 
            <asp:SessionParameter DefaultValue="" Name="kundeID" SessionField="KundeID"   
                Type="Int32" /> 
        </SelectParameters> 
    </asp:ObjectDataSource> 

When we call the Update Linkbutton after editing the fields, the method UpdateZahlungsmoeglichkeiten won't be called.

Where is the error?

regards

Christian

Christian
Top achievements
Rank 1
 answered on 14 Dec 2009
4 answers
123 views
Hi,

I found a strange issue using the new rating control :

Using http://demos.telerik.com/aspnet-ajax/rating/examples/clientsidefunctionality/defaultcs.aspx

Step 1: Set the txtValue TextBox to 5 -> Ok you have 5 stars clientside
Step 2: Now, without refreshing the page, set it to 0 -> Ok you have 0 stars clientside
Step 3: Still without refreshing the page, set it again to 5 -> Not ok, you still have 0 stars.

Moreover, if after step 2 on server side you try to save the rating control value (in a database for example) using radrating1.value, it will record 5 and not 0.

(setting the txtValue to 0.0 does not solve the issue)

Regards,
Arnaud Boiselle





arnaud
Top achievements
Rank 1
 answered on 14 Dec 2009
1 answer
203 views
Hi:

1) I need to upload 1 file.
2) Once the file is uploaded, I need to create a link for download this file  (jpg, doc, pdf)
3) How must I create this link? I dont want to use the FileExplorer, I just need to have a link to 1 file.
4) Does it exist an special download.ashx for downloading the files throw the link?


Can you share a sample?
Erjan Gavalji
Telerik team
 answered on 14 Dec 2009
1 answer
189 views
I have a radgrid and  I am populating the grid using data returned from a web service call (after massaging the data returned by WS)  A lot of records are returned from this web service calls. I would like to paginate it ,but paginating in the server side makes another call to WS, which I do not want.

On top of it, during post backs the gridItemCount is  set to the page size, though there are more records than the page size.

I would like to do some sort of pagination in the client side, where clicking on next/prev would just hide/show relevant pages. And when the page does a postback, I would like to "post" the entire grid instead of a portion of it. Is it possible ?
Nikolay Rusev
Telerik team
 answered on 14 Dec 2009
12 answers
564 views
Hello
I have a RadGrid with only one MasterTable.
The user can Update, Edit or Insert in this Grid.
When the user Edit a record, I would like to display a upload control to be able to upload the logo of the company and then save it to my table. Is it possible to have this as a gridbound column as I would like also that when the user click on Edit, it display the value that is already in the table..
Thanks in advance

And does it has a property where I could set the width of my controls in the edit part?
Thanks again

Sebastian
Telerik team
 answered on 14 Dec 2009
1 answer
91 views
Hello

We have a particular grid in our system where a user can say where the data comes from, they can choose a database or excel spreadsheet.

When the grid is bound they can choose which column they want to filter from a drop down and enter the filter in a textbox.
 string filterExpression; 
 filterExpression = "(" + list.SelectedItem.Value + " Like '%" + txt.Text + "%'" + ")"; 

Grid.MasterTableView.FilterExpression = filterExpression;

The grid is then rebound as usual.

This all works well when they choose a database as their datasource, but when an excel spread sheet is used it does not work.

Should the filter work on excel datasources? or from my code extract above can you see an obvious reason why it would not work?

Thanks
Daniel
Telerik team
 answered on 14 Dec 2009
1 answer
108 views
Is there any way to achieve a staic header within a RadWindow, so that I could put a menu or toolbar there that would not scroll with the page data?
Georgi Tunev
Telerik team
 answered on 14 Dec 2009
1 answer
117 views
I am working on a hack to allow for fixed width appointments, but i am having problems determining for a resource the max number of appointments that are side by side. So here is the way I am trying to get it to work.

I am using the ColumnWidth property set to 110 so i want each appointment to be approximently 100px. Now if I can determin the max number of appointments that are side by side for a resource, I can, with jquery i am planning on over writing the percentages in the header and content with fixed widths based on the max number of appointments.

This should allow the appointments to stay with a % and work as normal.

I have seen quite a bit of complaining on here about this so if you have a better solution please let me know.
Peter
Telerik team
 answered on 14 Dec 2009
1 answer
122 views
I like the presentation capabilities of using ExcelML  with export to excel.

However, I have a column that has html formatting ... when I use the ExcelML option, then just the code shows up.
If I use the HTML option, then is displays correctly but then I lose funcitionality of the ExcelML such as the sorting capabilities in the header cells.

Is there a way to get the HTML formatting to show in the ExcelML option?

thanks
Daniel
Telerik team
 answered on 14 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?