Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
68 views
Hello,
I'm using grid with self-referencing hierarchy based on this example: http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/selfreferencing/defaultcs.aspx.

I would like to put all items that do not have children in edit mode (InPlace) to let user set the amount of requested products in the textbox.

I tried solutions from http://www.telerik.com/help/aspnet-ajax/grid-put-all-items-in-edit-mode-no-additional-rebind.html, but to no avail.

The first method works fine for normal grid, but in that case (for grid with hierarchy) it allows to edit only root nodes (and makes expanding impossible). 

Is there something I can do? Or maybe there is other control to display hierarchy (like treelist) which allows to use textbox? Because I need to display tree of products and allow user to choose which and how many products he wants.

Thank you in advance
Tsvetina
Telerik team
 answered on 24 Aug 2012
3 answers
139 views
Hi,
I want to change the align the button in radalert using stylysheet. Code is :

 <style type="text/css">       
        .rwPopupButton
        {
           margin:10px 0px 0px 140px !important;
        }
    </style>

But it also affected to radconfirm buttons. 
So,Please help me for this to only change the align of radalert  not any other window buttons.

Thanks
Marin Bratanov
Telerik team
 answered on 24 Aug 2012
14 answers
273 views
Hope you guys can help.

I need to use the Rad Editor control in a custom Sharepoint 2010 web part which also contains a whole application with multiple views. I can't use the web part version of Rad Editor, it has to be the .NET control. I tried doing some searches for instructions on how to do this in a Visual Studio 2010 Visual Web Part solution (which is what this application is), but cannot find anything on how to setup and configure the Rad Editor so I can work with it in my layout in the IDE.

When I try to drop the Rad Editor control into a DIV on my web part surface (in design mode), I get a simple tag for the control and (in the display view) an error saying "Error Creating Panel: Could not find file 'C:\...\...\web.config'. Well, at design time, I don't have a web.config. So what am I to do?

Can someone please help - with steps and configuration settings - so I can stay on track with the project? The Rad Editor is the reason we chose Telerik for this project in the first place.

Thanks for all help (and snippets) in advance!
A
Stanimir
Telerik team
 answered on 24 Aug 2012
1 answer
99 views
I have been trying to make a few simple modifications to a TreeView with the new touch skin.

I see where spacing is larger to account for fingers rather than mouse tip, but the horizontal indents for a three-level node expansion are excessive for my applications. Bear in mind it is the width of the indent that I am concerned about, otherwise the skin works extremely well on my iPad, Android tablet and Windows Phone. (Yeah Telerik!)

Per the demos, I have applied custom CSS to the nodes. Using a text-indent value of -16px does the trick for the text.

However the hot-spot does not move.

I am thinking there must be some pre-defined override that I can apply, similar to a customization provided elsewhere for RadGrid, as below. Can anyone point me in the right direction? And what property would affect the hot-spot?

 

<style type="text/css">     
 div.RadGrid .rgPager .rgAdvPart    
 {    
  display:none;       
 }
Ivan Zhekov
Telerik team
 answered on 24 Aug 2012
1 answer
89 views
When I create and ItemTemplate for the RadMenu, there are quotes put around the title. For example, Home whould display as "Home".

DataSource
<asp:SiteMapDataSource
    ID="SiteMapDataSourceMasterPage"
    runat="server"
    ShowStartingNode="false"
    StartingNodeOffset="0" />

RadMenu
<telerik:RadMenu
    ID="RadMenuMasterPage"
    runat="server"
    AllowSorting="True"
    CellSpacing="0"
    DataSourceID="SiteMapDataSourceMasterPage">
 
    <ItemTemplate>
        <div>
            <a href="<%# DataBinder.Eval(Container.DataItem, "url") %>">
                <%# DataBinder.Eval(Container.DataItem, "description") %>"
            </a>
        </div>
    </ItemTemplate>
 
</telerik:RadMenu>

Code Behind Page_Load
for (int i = 0; i < RadMenuMasterPage.Items.Count; i++)
{
    RadMenuMasterPage.Items[i].DataBind();
}

Thanks!
Kevin
Top achievements
Rank 2
 answered on 24 Aug 2012
6 answers
653 views
I have some code that executes in the code-behind of the RadWindow.  I would like to close the window just as soon as that particular server code is finished.  Is there a way to do this?

Thank You,

David Nowak.
DEBAL
Top achievements
Rank 1
 answered on 24 Aug 2012
1 answer
92 views
hiii,
I have a RadMaskedTextBox. When I tried to get the text in the code behind the literal characters from the mask are not getting. How can I get the text with literal characters in the server side?


thanks..
Princy
Top achievements
Rank 2
 answered on 24 Aug 2012
1 answer
83 views

Hi,

I have placed RadAjaxLoadingPanel1 in two forms .the senario is when i  click on the save button it will redirect to second page with querystring parameters.its saving the data and showing the loadingpanel while saving .But after saving when it redirect to other page it showing the error .please find the attached  error screen shot and code .please let me know.
thank you.

<telerik:RadAjaxManager ID="RadAjaxManager2" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="btnPrintCard">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="updatepanel1" LoadingPanelID="RadAjaxLoadingPanel1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Hay">
        </telerik:RadAjaxLoadingPanel>

Pavlina
Telerik team
 answered on 24 Aug 2012
3 answers
458 views
Hello,
I have a Telerik RadGrid in a user control.
When I use the Excel Export, with ExportSettings:
    <ExportSettings>
            <Excel Format="Biff" />
    </ExportSettings
I recieve the following message:

Value of '0' is not valid for 'emSize'. 'emSize' should be greater than 0 and less than or equal to System.Single.MaxValue.
Parameter name: emSize


When I change the Format to Html it works, but I get the warning that the File Extension is wrong.

Also, when I use the same grid (with Format=Biff) in a ASPX file direcly instead of a user control, it works OK

Can anybody tell me what to do to have the BiffExport work in a user control?

This is the Trace when the error occurs:
  
at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle 
style, GraphicsUnit unit, Byte gdiCharSet, Boolean 
gdiVerticalFont)<BR>   at System.Drawing.Font.Initialize(String 
familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, 
Boolean gdiVerticalFont)<BR>   at System.Drawing.Font..ctor(String 
familyName, Single emSize)<BR>   at 
Telerik.Web.UI.ExcelBiff.Font.GetData()<BR>   at 
Telerik.Web.UI.ExcelBiff.Workbook.AddFontRecordToList(Font font)<BR>   
at Telerik.Web.UI.ExcelBiff.StyleHandler.GetFontIndex(Cell cell)<BR>   
at Telerik.Web.UI.ExcelBiff.StyleHandler.GetXFIndex(Cell cell)<BR>   
at Telerik.Web.UI.ExcelBiff.Cell.CreateBiffCell()<BR>   at 
Telerik.Web.UI.ExcelBiff.Worksheet.WriteRowBlocksAndCells(Stream stream, Int32 
lastRow, UInt32 indexRecOffsetsStart, Int32 firstCol, Int32 
lastCol)<BR>   at Telerik.Web.UI.ExcelBiff.Worksheet.Write(Stream 
stream)<BR>   at Telerik.Web.UI.ExcelBiff.Workbook.Save(Stream 
stream)<BR>   at 
Telerik.Web.UI.ExportInfrastructure.XlsBiffRenderer.Render()<BR>   at 
Telerik.Web.UI.Grid.Export.TableViewExporter.ExcelExportRenderForm(HtmlTextWriter 
nullWriter, Control form)<BR>   at 
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection 
children)<BR>   at 
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter 
writer)<BR>   at 
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter 
writer)<BR>   at 
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter 
output)<BR>   at 
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, 
ControlAdapter adapter)<BR>   at 
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter 
adapter)<BR>   at 
System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter 
writer)<BR>   at 
Telerik.Web.UI.Grid.Export.TableViewExporter.ExcelExportRenderPage(HtmlTextWriter 
nullWriter, Control page)<BR>   at 
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection 
children)<BR>   at System.Web.UI.Control.RenderChildren(HtmlTextWriter 
writer)<BR>   at System.Web.UI.Page.Render(HtmlTextWriter 
writer)<BR>   at 
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, 
ControlAdapter adapter)<BR>   at 
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter 
adapter)<BR>   at System.Web.UI.Control.RenderControl(HtmlTextWriter 
writer)<BR>   at 
Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, 
Control page)<BR>   at 
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection 
children)<BR>   at System.Web.UI.Control.RenderChildren(HtmlTextWriter 
writer)<BR>   at System.Web.UI.Page.Render(HtmlTextWriter 
writer)<BR>   at 
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, 
ControlAdapter adapter)<BR>   at 
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter 
adapter)<BR>   at System.Web.UI.Control.RenderControl(HtmlTextWriter 
writer)<BR>   at 
Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, 
Control page)<BR>   at 
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection 
children)<BR>   at System.Web.UI.Control.RenderChildren(HtmlTextWriter 
writer)<BR>   at System.Web.UI.Page.Render(HtmlTextWriter 
writer)<BR>   at 
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, 
ControlAdapter adapter)<BR>   at 
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter 
adapter)<BR>   at System.Web.UI.Control.RenderControl(HtmlTextWriter 
writer)<BR>   at System.Web.UI.Page.ProcessRequestMain(Boolean 
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)<BR>

Regards,

Frank
Daniel
Telerik team
 answered on 24 Aug 2012
1 answer
84 views
hiii,,
how can i remove the underline in hyperlinkcolumn?

regards
hash
Shinu
Top achievements
Rank 2
 answered on 24 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?