Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
103 views
Hi,

I am using the ImageManager in a RadEditor and wanted to remove the path at the top of the file area - what I believe is called the AddressBox.  I found instructions on your site and copied the EditDialogs folder and its content to my project.
I modified FileBrowser.ascx and specified VisibleControls="Grid,TreeView,ContextMenus,Toolbar" for the RadFileExplorer (i.e., excluded the AddressBox). 

When I try to build my solution I get the following 2 errors at lines 1771 thru 1780 in StyleBuilder.ascx:

Error    204    'Telerik.Web.UI.Editor.ColorPicker' does not contain a definition for 'ClientIDMode' and no extension method 'ClientIDMode' accepting a first argument of type 'Telerik.Web.UI.Editor.ColorPicker' could be found (are you missing a using directive or an assembly reference?)    C:\Visual Studio 2010 Jim\Projects\ITOptimizerNewDev\ITOptimizerWeb\StyleBuilder.ascx    1771

Error    205    The type or namespace name 'ClientIDMode' does not exist in the namespace 'System.Web.UI' (are you missing an assembly reference?)    C:\Visual Studio 2010 Jim\Projects\ITOptimizerNewDev\ITOptimizerWeb\StyleBuilder.ascx    1771   

If I remove the ClientIDMode="Static" from the 4 statements that include it, the build completes successfully and I get the result I was looking for - no AddressBox.

Any idea how to address these errors?

Thanks

Jim 

Jon
Top achievements
Rank 1
 answered on 27 Dec 2012
2 answers
243 views
I have been using VS2008 Pro for several years now.  Today I installed VS2012 Express [for Web] on my computer.  I would like to be able to do 3 things with my Telerik subscription:

  1. Install the Telerik controls in the Toolbox so I can use them with a New Project.
  2. Load my existing app into VS2012 and rest assured that the Telerik controls (ie. Treeview, Slider, ListBox, etc.) will just work.
  3. Install and use JustCode, if possible.

#1 & #2 are absolute requirements.  #3 is optional

Further to #1, I right-clicked in the Toolbox area of the VS2012 IDE and chose "Choose Items".  On the ".NET Framework Components" tab of the dialog box I chose Browse.  I navigated here: C:\Program Files (x86)\Telerik\RadControls for ASP.NET AJAX Q3 2012\Bin45
Three files appeared:

  1. Telerik.Web.Design.dll
  2. Telerik.Web.UI.dll
  3. Telerik.Web.UI.Skins.dll

I tried clicking on the first two.  It said "Loading the selected file(s)"  Then later, when I pressed OK this message appeared: "The following controls were successfully added to the toolbox but are not enabled in the active designer:"  After that, no Telerik tools appeared in the Toolbox.

While I had hoped I could save the cost of buying VS2012 Professional, this is not a very good start.  Time is Money.

I would like a definitive answer from Telerik Support to my 3 questions above.  Can I do all of that with the Express version of VS2012: Yes or No?

Robert

Robert
Top achievements
Rank 1
 answered on 27 Dec 2012
0 answers
71 views
Hi ,

I have rad scheduler with drag and drop like this example
http://demos.telerik.com/aspnet-ajax/scheduler/examples/draganddropintegration/defaultcs.aspx?product=scheduler

How can i change dragging appointment style looks like appointment. its looks like grid record so i need to change 

Let me know 

Thanks,
Prasanna
Prasanna
Top achievements
Rank 1
 asked on 27 Dec 2012
3 answers
122 views
Hello,

We are using Telerik ASP.NET AJAX controls for our products and very satisfied with them. Hiowever while undergoing MSOCAF certification for Microsoft Online we found out that Telerik Telerik.Web.UI dll gives a lot of errors when analyzed by MSOCAF tool. Microsoft requires that all 3-rd party tools were MSOCAF certified. Do you have a MSOCAF certified version or any document with these error justifications?


Thank you,

Irene
Genady Sergeev
Telerik team
 answered on 27 Dec 2012
4 answers
255 views
Hi, new to scheduler control.  How do I set the background-color on the column header (where Weekday names are)?
Bob
Top achievements
Rank 1
 answered on 27 Dec 2012
1 answer
91 views
Hi,

I was checking the RibbonBar control. To my understanding, we can hide / unhide ribbongroup within a bar using client side script (Java script). Is there a way to change the tab dynamically using client side script?



Regards,
Kajal
Helen
Telerik team
 answered on 27 Dec 2012
3 answers
138 views
Hi, Ive noticed that my RadImageEditor stopped working when saving images. It was the first time I tried it after upgrading to Q3 2012 and im almost sure it was working as expected before. I use a custom button on the toolbar in order to save the images on client side. When I click the button, the query strings that were passed from the calling page seem to be overwritten by the control. In fact, when page first loads (Page_Load), my strings are this:

Request.QueryString["myFileLocation"] = "http://www.rbc.com/community-sustainability/_assets-custom/images/RBC_BWP_Wallpaper_1600X1200_EN.jpg"

Request.QueryString["myFileName"] = ""

When I click the save button, I get this (still in Page_Load):
Request.QueryString["myFileLocation"] = "http://www.rbc.com/community-sustainability/_assets-custom/images/Telerik.Web.UI.WebResource.axd?type=iec"

Request.QueryString["myFileName"] = null

Here is the code to reproduce it. You need to call the page using query strings like this:

http://localhost:PORT/Test3.aspx?myFileLocation=http://www.rbc.com/community-sustainability/_assets-custom/images/RBC_BWP_Wallpaper_1600X1200_EN.jpg&myFileName=

Test3.aspx
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
                        <telerik:RadImageEditor ID="RadImageEditor1" runat="server" StatusBarMode="Top" ToolsLoadPanelType="AjaxPanel">
                            <Tools>
                                <telerik:ImageEditorToolGroup>
                                    <telerik:ImageEditorTool CommandName="Print" />
                                    <telerik:ImageEditorTool ImageUrl="~/Images/Icons/Floppy.png" Text="Download" meta:resourcekey="ImageEditorDownload" CommandName="CustomDownload" />
                                </telerik:ImageEditorToolGroup>
                                <telerik:ImageEditorToolGroup>
                                    <telerik:ImageEditorToolStrip CommandName="Undo" />
                                    <telerik:ImageEditorToolStrip CommandName="Redo" />
                                    <telerik:ImageEditorTool CommandName="Reset" />
                                </telerik:ImageEditorToolGroup>
                                <telerik:ImageEditorToolGroup>
                                    <telerik:ImageEditorTool CommandName="Crop" IsToggleButton="true" />
                                    <telerik:ImageEditorTool CommandName="Resize" IsToggleButton="true" />
                                    <telerik:ImageEditorTool CommandName="Zoom" />
                                    <telerik:ImageEditorTool CommandName="ZoomIn" />
                                    <telerik:ImageEditorTool CommandName="ZoomOut" />
                                    <telerik:ImageEditorTool CommandName="Opacity" IsToggleButton="true" />
                                    <telerik:ImageEditorTool CommandName="Rotate" IsToggleButton="true" />
                                    <telerik:ImageEditorTool CommandName="RotateRight" />
                                    <telerik:ImageEditorTool CommandName="RotateLeft" />
                                    <telerik:ImageEditorTool CommandName="Flip" IsToggleButton="true" />
                                    <telerik:ImageEditorTool CommandName="FlipVertical" />
                                    <telerik:ImageEditorTool CommandName="FlipHorizontal" />
                                    <telerik:ImageEditorTool CommandName="AddText" IsToggleButton="true" />
                                    <telerik:ImageEditorTool CommandName="InsertImage" IsToggleButton="true" />
                                </telerik:ImageEditorToolGroup>
                            </Tools>
                        </telerik:RadImageEditor>
                     
                        <script type="text/javascript">
                            Telerik.Web.UI.ImageEditor.CommandList["CustomDownload"] = function (imageEditor, commandName, args) {
                                imageEditor.saveImageOnClient("Image");
                            }
                         </script>
 
 
                    </telerik:RadAjaxPanel>

Test3.aspx.cs
protected void Page_Load(object sender, System.EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                //check Request.QueryString["myFileLocation"] and Request.QueryString["FileName"] here after save click
            }
        }

Also, is it normal that the save is creating a page reload (IsPostBack="false")? Im not sure if the real problem here is this query string "contamination" or if before Q3 2012, the save click was creating a postback instead (IsPostBack=true) ...which is surely changing my logic.

TIA

Martin
Vessy
Telerik team
 answered on 27 Dec 2012
8 answers
198 views
In Bound Column is Zero how i show it's empty


<telerik:TreeListBoundColumn DataField="Quantity" HeaderText="Quantity" UniqueName="Quantity"
                                    HeaderStyle-Width="50px" DataFormatString="{0:0}" />

Thanks Advance,
Mohamed.
Vasil
Telerik team
 answered on 27 Dec 2012
1 answer
51 views
Increase Handler mouse outside radslider  does not fire radslider  value changed event in server side same like with first example custom panging in List view.Press mouse while moving outside increase or decrease Handler
Angel Petrov
Telerik team
 answered on 27 Dec 2012
1 answer
92 views
while exporting the radgrid to excel in html format, Group by buttons appear in XLS. I tried the  grdReport.MasterTableView.CommandItemDisplay = GridCommandItemDisplay.None, that helped to hide the header buttons. But the group by header buttons still appearing. Please help.
Daniel
Telerik team
 answered on 27 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
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
Bronze
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?