Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
116 views
Hi,
I am having web.sitemap file. Now i am creating RadTabs using SiteMapDataSource. My tabs are in one line and some tabs contain child tabs. But here i am facing some problem like
1) As i can't create web.sitemap without root node, i have added root in site map. Because of that  through DataBind() tabs get create with root node and below that all my tabs. But i don't want that root node. When i tried to remove root node it removes all tab below it.

2)When i click on tab it will  not showing child tabs.

I am using Asp.Net Ajax website
please help me..

Regards,
Sagar
Yana
Telerik team
 answered on 07 Sep 2010
1 answer
113 views
Unfortunatly i'm having a very hard time reproducing this problem, but thought i'd post anyway.  For some reason some of our users running IE8 some on windows 7 have an issue with a treeview loading completely disabled and unclickable.

The treeview doesnt have any operations performed on it, and is sitting in an update panel of a content place holder of a master page.  I load it from our database on the server side, the data shows correctly but the treeview is totally un usable.  The only javascript error i've seen is one possibly relating to a radEditor that was invisible at load and in a different update panel.  I'm basing that solely on the line number in the error.  I've since fixed that error, assuming the line number was correct.

I realize it isnt much information to go on, but maybe its a known issue or someone will see this and have some more info.  I'll post more info as i get it if it happens again.

Thanks for any help or information someone can provide.

John
Yana
Telerik team
 answered on 07 Sep 2010
1 answer
90 views
Hello sir,

I am using the RadRotator and when i m performing the event OnItemClick to view the bigger image then rotator resets the source. so it shows the first image.It doesnt preserve the clicked item on the rotator.    

Thanx,
KeeM
Shinu
Top achievements
Rank 2
 answered on 07 Sep 2010
2 answers
93 views
hi
i use these code for bind radgrid
but just first level bind
both of datasource is full
please help to me
protected void Button1_Click(object sender, EventArgs e)
        {
  
            RadGrid RadGrid1 = new RadGrid();
            RadGrid1.ID = "RadGrid1";
            RadGrid1.DataSource = ResultSearch();
            RadGrid1.MasterTableView.DataKeyNames = new string[] { "ShareHolderID" };
            RadGrid1.Width = Unit.Percentage(98);
            RadGrid1.PageSize = 3;
            RadGrid1.AllowPaging = true;
            RadGrid1.AllowSorting = true;
            RadGrid1.PagerStyle.Mode = GridPagerMode.NextPrevAndNumeric;
            RadGrid1.AutoGenerateColumns = false;
            RadGrid1.ShowStatusBar = true;
            RadGrid1.MasterTableView.ExpandCollapseColumn.Visible = true;
            RadGrid1.MasterTableView.PageSize = 3;
            GridBoundColumn boundColumn;
            boundColumn = new GridBoundColumn();
            boundColumn.DataField = "ShareHolderID";
            boundColumn.HeaderText = "ShareHolderID";
            RadGrid1.MasterTableView.Columns.Add(boundColumn);
            boundColumn = new GridBoundColumn();
            boundColumn.DataField = "FirstName";
            boundColumn.HeaderText = "FirstName";
            RadGrid1.MasterTableView.Columns.Add(boundColumn);
            IQueryable<CDSStockDataAccess.tS002ShareHoldersInfo> shareholderinfo = CDSStockLogic.BusinessObjects.UI.ShareHolderInfo.RetrieveShareHolder("2");
            GridTableView tableViewOrders = new GridTableView(RadGrid1);
            tableViewOrders.DataSource = shareholderinfo;
            tableViewOrders.Width = Unit.Percentage(100);
            tableViewOrders.DataKeyNames = new string[] { "_ShareHolderInfoID" };
            GridRelationFields relationFields = new GridRelationFields();
            relationFields.MasterKeyField = "ShareHolderInfoID";
            relationFields.DetailKeyField = "ShareHolderInfoID";
            tableViewOrders.ParentTableRelation.Add(relationFields);
            RadGrid1.MasterTableView.DetailTables.Add(tableViewOrders);
            boundColumn = new GridBoundColumn();
            boundColumn.DataField = "ShareHolderInfoID";
            boundColumn.HeaderText = "ShareHolderInfoID";
            tableViewOrders.Columns.Add(boundColumn);
            boundColumn = new GridBoundColumn();
            boundColumn.DataField = "Address";
            boundColumn.HeaderText = "Address";
            tableViewOrders.Columns.Add(boundColumn);
            this.PlaceHolder1.Controls.Add(RadGrid1);
            RadGrid Grid1 = (RadGrid)PlaceHolder1.FindControl("RadGrid1");
            RadGrid1.MasterTableView.Items[0].Expanded = true;
            Grid1.SelectedIndexes.Add(1, 0);
        }
niloofar
Top achievements
Rank 1
 answered on 07 Sep 2010
1 answer
197 views
My team is using a RadGrid for a dataset that returns multiple columns of numbers, and there are some calculated colums to return the % of total for each column. The calculated expressions are working properly in the row, but I'd like to get the total percentage. None of the aggregate functions work; I don't want a total of the percentages, I want the same calculation done on the total values as is being done on each row. See the screenshot for a better explanation; I'd like summary percentages where each of the arrows are.

Is there any way to accomplish this without some complicated coding in the OnCustomAggregate event? It seems like a pretty straightforward requirement.




Princy
Top achievements
Rank 2
 answered on 07 Sep 2010
1 answer
113 views
i need a popup dialog in radgrid.
i see this sample  http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/popupeditform/defaultvb.aspx
but, i need a simple example for this problem. (One Grid and One Field Change)
please help me.
Shinu
Top achievements
Rank 2
 answered on 07 Sep 2010
1 answer
369 views

Hi,

when session expires and user click on link to open popwindow then the login page opens in popup window.
so my requirement is i need to close the popup window and refresh the parent page so that user redirect to login page from main window instead of opening login page in popup window.

i am writing following code in popup window master page prerender event but its not working....

 if (principal == null)
        {
            string script1 = "<script language=JavaScript>";
            script1 += "alert('The session has expired due to longer idle time in application. You will be redirected to the homepage');";
            script1 += "opener.location.reload(true);";
            script1 += "opener.focus();";
            script1 += "self.close();";
            script1 += "</script>";      

            ScriptManager.RegisterStartupScript(this, this.GetType(), "CLOSE", script1, true);

        }

please help.

waiting for your reply.



Shinu
Top achievements
Rank 2
 answered on 07 Sep 2010
1 answer
153 views

Hi,
i want to close the rad window in master page Pre_Render event but its not working...

protected void Page_PreRender(object sender, EventArgs e)
    {
        ScriptManager.RegisterStartupScript(this, this.GetType(), "CLOSE", "window.close();", true);
    }

please help ...how i can close the window in master page of rad window if session expires.

waiting for your reply.
Shinu
Top achievements
Rank 2
 answered on 07 Sep 2010
3 answers
1.0K+ views

Hi,

I have a radGrid which will bind data dynamically using SQDatasource. But I need to change one
GridBoundColumn column to GridButtonColumn in runtime.  (Each and every row has a related .PDF file which need to be opened when user click a cell of that column)

Could you please help me to find how to change GridBoundColumn to GridButtonColumn in runtime?

Regards,
Pri

Princy
Top achievements
Rank 2
 answered on 07 Sep 2010
2 answers
106 views
Dear sir/madam,

Since a week I got new components in my computer.
Processor intel i5-760 quadcore
Motherboard Asus P7H55-M
Ram 4 gig DDR3 corsair
OS Windows 7 Ultimate 64x

Because of the new hardware i needed to reinstall Windows 7.
Everything works fine except Telerik ASP.NET controls installation.
If i start the installation, the msi runs fine, i can select custom or complete etc.
When I click on Install, my computer moves slower and slower. Till nothing works anymore.
I use RadControls for ASP.NET AJAX 2009 Q3 1208 dev version.

I have tried to extract the msi -> didn't work
I have tried to use custom installation -> no effect
I have tried to use complete installation -> no effect
I have tried to use compability setting -> no effect

I hope you can help me.

Thanks in advance

Wim
Wim
Top achievements
Rank 1
 answered on 06 Sep 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?