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

I have an ASP page whose tree control I am try to replace with the Telerik TreeList.  On the page I have buttons to increase or decrease the font size of all the detail items. I am looking to vary the font size from eight to sixteen in steps of one. This means that I would have to read the current font size and then increment or decrement the font size. The changes should be made client side if possible. Can someone get me going in the right direction?

Galin
Telerik team
 answered on 24 Nov 2011
8 answers
115 views
Hi!

We have tried to open all files in the sourcezip and tried to replace all telerik with supersoft to have the namespace supersoft.web.ui
But we allways get error on the telerik.web.apoc that is the DLL that is in the BIN folder.
Why isn't that file included in the sourcezip?

And what are the steps to change the namespace correctly?

Regards Pelle
Sebastian
Telerik team
 answered on 24 Nov 2011
3 answers
140 views
I have a grid that has a hidden column (the Id) 

 

<telerik:GridBoundColumn DataField="Id" Display="False" Visible="false" 
           FilterControlAltText="Filter column column" UniqueName="column" >
       </telerik:GridBoundColumn>

This works fine for the grid, however when I edit or add a new record (in a popup) the Id shows up.  I can set ReadOnly="true"  which works fine for inserting a new record, this however does not work for editing an existing record.  When ReadOnly is set to true I am unable to get the Id of the record for an update. 

What am I missing here?

Thanks
Antonio Stoilkov
Telerik team
 answered on 24 Nov 2011
8 answers
305 views
Hi,

I am using RadEditor inside RadDock. In my application (Sharepoint webparts) the radDocks are dynamically created using an hidden updatepanel. In each raddock I have an UpdatePanel in order to update dynamically its content.

The first time I open a raddock with an editor inside, the editor is not editable in chrome, internet explorer and firefox. The tools are not rendered  in internet explorer. If I refresh the page with full postback, the editor starts to work correctly in all browsers.

I tried to place an hidden radeditor  (style="display: none") in my page in order to load javascript files the first time page is rendered but it does not solved my problem.

Any ideas?



Michael Pinheiro
Rumen
Telerik team
 answered on 24 Nov 2011
1 answer
121 views
Hi,
 
I am trying to open a new radtab on every Search button click. So basically the home page,
opens in a tab which shows a textbox & search button. Then Everytime a user clicks on Search button I need to grab the search result & display in a  grid in a new tab. (so if search is clicked 3 times.. there will be 3 additional tabs). How can I achive this functionality?

I was able to create a new tab for each click on button ("search"). The tab opens fine but the grid doesnt display. Not sure where I am going wrong. Can somebody please throw some light if there is any example scenario will be highly appreciated.

During the debug I can see the result set is passsed to the new tab without any issue.

Thank you
Dimitar Terziev
Telerik team
 answered on 24 Nov 2011
1 answer
99 views

We have implemented telerik TABs Load On Demand method.  We have added RadTabStrip in main usercontrol ( TopTab.ascx ).  For each pageview of tab strip, we have added separate usercontrols and set RadAjaxManager property EnabledAjax="true"

 

We are facing problem as javascript functions and validations written on usercontrols of child tabs are not getting rendered.


Below is our page structure

 

Master Page >  Client.aspx > TopTab.ascx ( user control ) > RadTabStrip ( RadTabStrip contains multiple tabs)

 

Out Of these multiple tabs we have sub tabs in 2 Tabs. For each of these sub tabs including main tabs, we have usercontrols.

 

Please suggest for rendering javascripts which are part of child / sub tabs used in our scenario.

Regards,

Sunil

Bozhidar
Telerik team
 answered on 24 Nov 2011
4 answers
200 views
Hi Telerik,

When i add a control on my page I am getting sys.argumentundefinedexception value cannot be undefined. I have not written any code just added a control on my page and its showing above javascript exception. I am using 2010.3.1317.35 telerik.Web.UI dll.
Attached file is snap shot of error got.
Manishkumar
Top achievements
Rank 1
 answered on 24 Nov 2011
0 answers
74 views
Hi,

 I am opening a Radwindow (say mainwindow) which has usercontrol in it. The user control contains some buttons and a radgrid. I am trying to open one more child radwindow by clicking on one of the buttons 2nd radwindow opens.

The issue is when if place radgrid  in usercontrol then 2nd radwindow does not open, but if I remove radgrid then 2nd radwindow opens.

Can anyone tell me what might be the issue.

from MainPage---> opens Radwindow(usercontrol with button & radgrid)------->button click opens-------->radwindow (if radgrid on usercontrol doesnot exists)

Regards,
Shobha
sho
Top achievements
Rank 1
 asked on 24 Nov 2011
1 answer
39 views
Hi,
I am creating  a  dynamic nested  grid  to replicate grid displayed in following site.
 http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/nestedviewtemplate/defaultcs.aspx

When I expand  an item in child grid to display grandChild grid, the nestedview template on top level  is empty and  I lose all controls. How can I persist nested grids  on post back.


Here is my code to create root grid, child grid is also created with same logic.

1.
  protected void Page_Init(object source, System.EventArgs e)
        {
            try
            {      
                RadGrid rootGrid = CreateDynamicGrid("Ticket");
                NGridPlaceHolder.Controls.Add(rootGrid);
            }
            catch(Exception ex)
            {
                WIMProject.ShowMessageBox(ex.ToString());
            }
        }


2.
 public RadGrid CreateDynamicGrid(string tableName)
        {
            RadGrid radGrid = new RadGrid();
            try
            {
                radGrid.ID = tableName + "_RootGrid";
                radGrid.AutoGenerateColumns = true;
                radGrid.PageSize = 20;
                radGrid.MasterTableView.AllowPaging = true;
                radGrid.PagerStyle.Mode = GridPagerMode.NextPrevAndNumeric;
                radGrid.MasterTableView.DataKeyNames = new string[] {"ID" };
                radGrid.MasterTableView.HierarchyLoadMode = GridChildLoadMode.ServerOnDemand;
                radGrid.MasterTableView.TableLayout = GridTableLayout.Auto;
                radGrid.MasterTableView.NestedViewTemplate = new NestedGridTemplate();
                radGrid.ItemCommand += new GridCommandEventHandler(radGrid_ItemCommand);
                radGrid.ItemDataBound += new GridItemEventHandler(radGrid_ItemDataBound);

              radGrid.NeedDataSource += new GridNeedDataSourceEventHandler(radGrid_NeedDataSource);

        .........}


3.
        void radGrid_ItemDataBound(object sender, GridItemEventArgs e)
        {
                  string gridID = e.Item.OwnerID;
                  string tableName = gridID.Replace("_RootGrid", "");

                  if (e.Item.GetType() == typeof(GridDataItem) && e.Item.Expanded)
                      {
                          GridDataItem currentDataItem = (e.Item as GridDataItem);
                          string selectedRowID = currentDataItem.GetDataKeyValue("ID").ToString();

                          Panel currentPanel = new Panel();
                          currentPanel.CssClass = "GridWrapperPanel";

                          NestedGridTemplate nestedGridTemplate = new NestedGridTemplate();
                          nestedGridTemplate.CreateTabStrip(tableName, currentPanel, selectedRowID);

                         (currentDataItem as GridDataItem).ChildItem.NestedViewCell.Controls.Add(currentPanel);
                      }
           
        }


Thanks,
Prava
Pavlina
Telerik team
 answered on 24 Nov 2011
1 answer
74 views
I am experiencing an issue with RadCompression. It does improve my intranet web application performance however I just found an issue, a web page will lose its viewstate if we leave it for around 10 minutes. It has never happened before we use RadCompression since we never let our session timeout. Does anyone know how to solve this problem?
Johny
Top achievements
Rank 1
 answered on 24 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?