Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
85 views
We are using an AjaxPanel and have perfect results with this code in IE6 - the LoadingPanel covers the entire grid and the image appears as we want - but the same exact code in IE7 results in a LoadingPanel that only extends about 5 pixels down the grid during Ajax requests, so the grid appears uncovered by the LoadingPanel except for the top of it and, of course, the loading image can't be seem. There is obviously some style requirement in IE7 we are missing but cannot find documentation on your site - we simply want the LoadingPanel to operate as it does in IE6. Please advise.
Dimo
Telerik team
 answered on 19 Jan 2009
3 answers
107 views
How do I place a date on x using this.

this.DataManager.ValuesXColumn  = "Date"

And no, I cannot preconvert it using SQL and no I cannot use the .ToDateOA command. I can only use a reference to the column name.
Ves
Telerik team
 answered on 19 Jan 2009
4 answers
188 views
Hi,

I have two controls in a page
1. Chart Control
2. Grid control
I want to export both chart  and grid control to PDF or Excel format when exporting the data.
So that both the chart and grid are in the same file that is exported. Is there any way to do it?

I also have implemented custom paging in grid so that only the records equal to page size is fetched from the database each time the page index is changed. Is there a way to apply all the formatting (grouping, filtering,sorting) done by user on all the records when it is exported from grid.

Regards
Veda
Albert
Top achievements
Rank 1
 answered on 19 Jan 2009
1 answer
269 views

Hello

I am trying to bind the data to the RadGrid dynamically using NeedDataSource event.

My Columns and rows are to be created dynamically. For selecting Year in a particular table, I am creating column for years in the RadGrid. And for each cell of the Grid there is a label control to be added.

How can I do this, I have tried few ways but failed. Can you please guide?

Here is my code on NeedDataSource Event

 

if

(dsYears.Tables[0].Rows.Count > 0)

 

{

 

    for (int i = 0; i < dsYears.Tables[0].Rows.Count; i++)

 

    {

 

        if (Convert.ToInt32(dsYears.Tables[0].Rows[i]["Fyear"]) > 0)

 

        {

 

            if (CurrentYear.ToString() != dsYears.Tables[0].Rows[i]["Fyear"].ToString())

 

            {

                TempColumn =

new GridTemplateColumn();

 

                lblYear =

new Label();

 

                lblYear.ID =

"lbl_" + dsYears.Tables[0].Rows[i]["Fyear"].ToString();

 

 

                //lblYear.Text = dsYears.Tables[0].Rows[i]["Fyear"].ToString();

 

 

 

                TempColumn.ItemTemplate.Equals(lblYear);

 

                //TempColumn.ItemTemplate.InstantiateIn(lblYear);

 

 

 

                TempColumn.HeaderText = dsYears.Tables[0].Rows[i][

"Fyear"].ToString();

 

                RadGrid1.MasterTableView.Columns.Add(TempColumn);

            }

        }

    }

}

 


Please guide me if I am using wrong event for this tasks or doing anything wrong..

Thank you

Shailendrasinh

Princy
Top achievements
Rank 2
 answered on 19 Jan 2009
1 answer
80 views
In the editor if the bulleted or numbered list toolbar button is pressed while in a paragraph tag the resulting html will close the paragraph tag and the list element is inserted under the paragraph tag. Is there a way to copy the exact insert list logic so that tables inserted by the editor format the html in the sammer manner. The end result I am looking for is for no table element to be a child of a paragraph element.

Thanks,
Alex
Tervel
Telerik team
 answered on 19 Jan 2009
1 answer
111 views
Hi .,
I want to bind a treeview with sql datasource.I use the below code.Pls guide me how to use parentid (I am using asp.net with vb)

 

<telerik:RadTreeView ID="RadTreeView1" runat="server" DataSourceID="SqlDataSource1" DataTextField="DESCRIPTION" DataValueField="CODE"></telerik:RadTreeView>
Using the above code, I got the output as 
                            

 

o   Scanner ( description)

o   Printer   ( description)

o   Laptop   ( description)

      o   Cute FTp  ( description)

o   Logmein  ( description

Below is sql select query

 

<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:EsteeConnectionString %>"

 

 

SelectCommand="SELECT [CODE], [DESCRIPTION],[MAINCATEGORY] FROM [BRANDMASTER]"></asp:SqlDataSource>

 


I need the output as follows:

Ø  Hardware     ( maincategory )

o   Scanner ( description)

o   Printer   ( description)

o   Laptop   ( description)

Ø  Software   (maincategory)

o   Cute FTp  ( description)

o   Logmein  ( description)

 




Shinu
Top achievements
Rank 2
 answered on 19 Jan 2009
2 answers
244 views
Greetings.
I have following trouble with rad grid:

1. i have control with self-referencing hierarchy grid with hierarchyloadmode="Client"
in ItemCreated i wrote following things:
a) check for all list elements to remove button from expandcollapse column
b) for every element i use e.Item.ExpandHierarchyToTop(); to manually open all tree (this is done to not open list nodes, which have no child and even no button,since i removed it)
c) populating my control from one column with data from e.item.dataitem

2. i put grid in new page with asp:multiview, plus added another empty view and button to move between em.

3a. whenever grid view is set as default to show - all work nice, button click make change from grid page to empty and back.

3b. whenever empty page is set as default and i push button, i got exception on "e.Item.ExpandHierarchyToTop();"
NullReferenceException, while e.item and even e.item.dataitem are populated with needed data.
Georgi Krustev
Telerik team
 answered on 19 Jan 2009
4 answers
132 views
I am sorry, as I am sure the answer to this exists somewhere, but I just can't find it.  The time dropdown box (start and end) go from 8:00 to 5:30.  How do I change this range?  My client's appointments are mostly in the evening.
Peter
Telerik team
 answered on 19 Jan 2009
1 answer
129 views
It is strange that when I apply format stripper (no matter if it is stripping font or stripping css or span item) to text with heading tag, the heading tag doubled.
<h1><h1>Test</h1></h1>.
<h1><h1><h1>Test</h1></h1></h1>.
Stanimir
Telerik team
 answered on 19 Jan 2009
3 answers
115 views
How can I set the steps for the X-Axis if I load the values dynamically from the database, currently it displays all the values no matter what I use for the steps setting.
Ves
Telerik team
 answered on 19 Jan 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?