Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
78 views
Im creating a delete column in the codebehind like this:
if (hasRWPerm && UserSettings.CheckSetting(Page_UserSettings, Page_Cab.CabRealName, "deleteFolders"))
{
    #region delete_folder
    GridClientDeleteColumn btnDelete = new GridClientDeleteColumn();
    btnDelete.ButtonType = GridButtonColumnType.LinkButton;
    btnDelete.CommandName = DELETE;
    btnDelete.Text = DELETE;
    //btnDelete.HeaderText = "Deleted";
    btnDelete.UniqueName = "deleteRow";
    btnDelete.Resizable = false;
    btnDelete.ShowInEditForm = true;
    btnDelete.ItemStyle.Width = Unit.Pixel(50);
    btnDelete.ConfirmText = "Do you want to delete this folder?";
    RadGridCabFolders.MasterTableView.Columns.Add(btnDelete);
    #endregion
}
it does what it needs to but if I click on my edit column or add a row the width of the delete column changes. I view the source and what I see is the <td  style="width:50px;"> to <td> . Weird? or do you have a clue as to what is going on. Please do just send me to some random code sample, this has always been a waste of time.
Pavlina
Telerik team
 answered on 10 Jan 2012
1 answer
155 views

Hi,

We are currently migrating a conventional ASP.Net application, utilizing Telerik Ajax controls, in MVC. The issue is that we want to achieve exactly the same appearance of the site. So, we are trying to figure out if there is any way to use <telerik:RadColorPicker/> to an MVC application.

 

Regards


Slav
Telerik team
 answered on 10 Jan 2012
5 answers
231 views
Hi,

I would love to generate email reminders based on the reminder settings coming from my RadScheduler.

I imagine this would involved a scheduled application running on my server reading through the appointments in the database and checking for reminders and then sending emails.

Does anyone know of any examples or information available online that would help me develop this ?

Thanks
Sam
sam
Top achievements
Rank 1
 answered on 10 Jan 2012
1 answer
61 views
Here is my situation.

I create a dll file that includes the name WebUserControl "EditRecord" and inside the WebUserControl, there is a RadGrid.

EditRecord is the Embed Resource DLL. At the exit I have this: ExampleCustomModule.dll.
Dll file is saved in the database. When necessary, I made ​​the following code:

Dim assembly As System.Reflection.Assembly = System.Reflection.Assembly.Load(data)
Dim controlType As System.Type = assembly.GetType("ExampleCustomModule.EditRecord")
Dim myControl As Control = DirectCast(Activator.CreateInstance(controlType), Control)

When I check: myControl.Controls.Count it m'inidique I 0 control.

I'm putting as much control, there is nothing. I also try with: LoadControl (controlType, Nothing) but no success.

Have you any idea how I should do to recreate my control but also contains the controls inside?

Is my approach to backup my dll in the database is wrong or should I save in my bin?
Radoslav
Telerik team
 answered on 10 Jan 2012
2 answers
83 views

When i click Edit Button in the radgrid and after edit is done when i click the Update or save button the system will check the list of existing tags to make sure the edited tag name does not already exist. This check will look at the exact name of all existing tags for that client and NOT be case sensitive. 

If the edit being saved already exists, then a message will appear in red next to the tag name that says “The name you are trying to use already exists.  No change has been made to your tag name.”  The tag they tried to edit will still be in the tag list but with the original name.

How to do This?

Naveen kumar
Top achievements
Rank 1
 answered on 10 Jan 2012
3 answers
115 views
hi,
I have a vertical toolbar and I need that when rollover an item, the highlight (background) will be to the end of the toolbar and not on the text only.

10x
Kate
Telerik team
 answered on 10 Jan 2012
1 answer
111 views
Hi there,

We are having the same issue in IE6 and IE7 as noted in the known issue link: known issue with buttons

We've been able to fix IE7 by adding relative positioning to the containing block as per the link above, however the same doesn't seem to work in IE6. Our pages are generated dynamically, so i've attached the output source structure. In IE7, we can add relative positioning style to the 'TabContent' class to resolve the issue. In IE6, this doesn't work.

Also noticed that the date picker button is having the same issue.

here is the inherited style for the anchor (<a>) on checkbox button

/* Rule from element "style" attribute */
element.style {
    DISPLAY: inline-block;
    BORDER-TOP-STYLE: none;
    BORDER-RIGHT-STYLE: none;
    BORDER-LEFT-STYLE: none;
    BORDER-BOTTOM-STYLE: none
}
/* Rule N°68 from ../Styles/ie6.css */
.modalPopup A:visited {
    FONT-SIZE: 10px;
    FONT-FAMILY: Arial;
    TEXT-DECORATION: none
}
/* Rule N°67 from ../Styles/ie6.css */
.modalPopup A:active {
    FONT-SIZE: 10px;
    FONT-FAMILY: Arial;
    TEXT-DECORATION: none
}
/* Rule N°66 from ../Styles/ie6.css */
.modalPopup A:hover {
    FONT-SIZE: 10px;
    FONT-FAMILY: Arial;
    TEXT-DECORATION: none
}
/* Rule N°65 from ../Styles/ie6.css */
.modalPopup A:link {
    FONT-SIZE: 10px;
    FONT-FAMILY: Arial;
    TEXT-DECORATION: none
}
/* Rule N°2 from ../Styles/ie6.css */
A:visited {
    COLOR: black
}
/* Rule N°13 from /WebResource.axd?d=BZK2bjDOsKT5hgxX0P9nrjT2Xsc4nSa-IVWHoIXvYeh_OgnPxlyCNUZWakbCR1OqjcP9VEnCdLCvnsfyYiV0yqgFMRWn3KnE5fK9CmzmVauHV03hQLLVqubqJpuY7hCobNZSTb7oRqHD-CCHJiWyt3C6ZJA1&t=634614401461107401 */
.rbToggleButton:hover {
    COLOR: #227c08
}
/* Rule N°12 from /WebResource.axd?d=BZK2bjDOsKT5hgxX0P9nrjT2Xsc4nSa-IVWHoIXvYeh_OgnPxlyCNUZWakbCR1OqjcP9VEnCdLCvnsfyYiV0yqgFMRWn3KnE5fK9CmzmVauHV03hQLLVqubqJpuY7hCobNZSTb7oRqHD-CCHJiWyt3C6ZJA1&t=634614401461107401 */
.rbToggleButton {
    COLOR: #000
}
/* Rule N°69 from /WebResource.axd?d=X6HIrZLQLQ7xwWPLhFvjbW_ijneAd5n93tIp5kGCgNH9PpNSAidBuD4pnCSDOEuWGRzrLa9Nxr6XsEMUbh9pyna6nD5TknbcAYsqJrmqbxrQWFW0VCB7rfsP2Dj0bQH6Cqg5cA2&t=634614401461107401 */
.rbToggleButton {
    DISPLAY: inline-block;
    PADDING-LEFT: 20px;
    CURSOR: default;
    LINE-HEIGHT: 20px;
    POSITION: relative;
    HEIGHT: 20px;
    TEXT-DECORATION: none
}
/* Rule N°35 from /WebResource.axd?d=X6HIrZLQLQ7xwWPLhFvjbW_ijneAd5n93tIp5kGCgNH9PpNSAidBuD4pnCSDOEuWGRzrLa9Nxr6XsEMUbh9pyna6nD5TknbcAYsqJrmqbxrQWFW0VCB7rfsP2Dj0bQH6Cqg5cA2&t=634614401461107401 */
.RadButton {
    CURSOR: pointer
}
/* Rule N°1 from /WebResource.axd?d=X6HIrZLQLQ7xwWPLhFvjbW_ijneAd5n93tIp5kGCgNH9PpNSAidBuD4pnCSDOEuWGRzrLa9Nxr6XsEMUbh9pyna6nD5TknbcAYsqJrmqbxrQWFW0VCB7rfsP2Dj0bQH6Cqg5cA2&t=634614401461107401 */
.RadButton {
    FONT-SIZE: 12px;
    FONT-FAMILY: "Segoe UI" , Arial, Helvetica, sans-serif
}
/*--------------
   Inherited from TD
------------- */
/* Rule from element "style" attribute */
element.style {
    WIDTH: 50%
}
 
/*--------------
   Inherited from DIV.TabControlColumn1
------------- */
/* Rule N°163 from ../Styles/ie6.css */
.TabControlColumn1 {
    FLOAT: left;
    OVERFLOW: scroll;
    WIDTH: 100%;
    BACKGROUND-COLOR: yellow
}
 
/*--------------
   Inherited from DIV.TabContent
------------- */
/* Rule N°54 from ../Styles/ie6.css */
.modalPopup .TabContent {
    BORDER-RIGHT: #777777 1px solid;
    PADDING-RIGHT: 10px;
    BORDER-TOP: #777777 1px solid;
    OVERFLOW-Y: auto;
    PADDING-LEFT: 10px;
    FONT-SIZE: 10pt;
    Z-INDEX: -1;
    FLOAT: left;
    OVERFLOW-X: hidden;
    PADDING-BOTTOM: 15px;
    BORDER-LEFT: #777777 1px solid;
    WIDTH: 423px;
    LINE-HEIGHT: 14px;
    PADDING-TOP: 15px;
    BORDER-BOTTOM: #777777 1px solid;
    HEIGHT: 333px;
    BACKGROUND-COLOR: #dddddd
}
 
/*--------------
   Inherited from DIV
------------- */
/* Rule from element "style" attribute */
element.style {
    FLOAT: left;
    WIDTH: 580px
}
 
/*--------------
   Inherited from DIV
------------- */
/* Rule from element "style" attribute */
element.style {
    FLOAT: left;
    WIDTH: 100%
}
 
/*--------------
   Inherited from DIV.Inner
------------- */
/* Rule N°45 from ../Styles/ie6.css */
.modalPopup .Inner {
    PADDING-RIGHT: 0px;
    OVERFLOW-Y: auto;
    PADDING-LEFT: 30px;
    FLOAT: left;
    OVERFLOW-X: hidden;
    MARGIN-BOTTOM: 0px;
    WIDTH: 590px
}
 
/*--------------
   Inherited from DIV.modalPopup
------------- */
/* Rule N°44 from ../Styles/ie6.css */
.modalPopup {
    BORDER-RIGHT: gray 3px solid;
    BORDER-TOP: gray 3px solid;
    OVERFLOW-Y: hidden;
    OVERFLOW-X: hidden;
    BORDER-LEFT: gray 3px solid;
    WIDTH: 645px;
    BORDER-BOTTOM: gray 3px solid;
    HEIGHT: 577px;
    BACKGROUND-COLOR: #ffffff
}
 
/*--------------
   Inherited from BODY
------------- */
/* Rule N°1 from ../Styles/ie6.css */
BODY {
    FLOAT: left;
    MARGIN: 0px;
    WIDTH: 100%
}


Please help!
Slav
Telerik team
 answered on 10 Jan 2012
2 answers
645 views
In a project with non ajax / ajax controls ( Q3 2008  version ) I want to create a master page for ajax controls.
I get the error below when I set
PersistStateInCookie="true" to the 'telerik:RadPanelBar' control .
If I set PersistStateInCookie = "false"   it is working but it doesn't keep my selection.

 <telerik:RadSlidingPane ID="RadSlidingPane1" runat="server" Scrolling="None" 
      Width="180px" Style="margin0pxpadding0px" BorderWidth="0px" OnClientPaneDocked="SlidePaneDocked"
          OnClientPaneUnDocked="SlidePaneUnDocked" Index="0">
                            
      <asp:ContentPlaceHolder ID="contentLeft" runat="server">
      </asp:ContentPlaceHolder>
 
      
      <asp:UpdatePanel ID="upMaster" runat="server" UpdateMode="Conditional">            <ContentTemplate>                <asp:UpdateProgress ID="UpdateProgress1" AssociatedUpdatePanelID="upMaster" DynamicLayout="true"                                         runat="server">                  <ProgressTemplate>                          (...loading)                   </ProgressTemplate>                </asp:UpdateProgress>                
                <div style="floatleft">                        <telerik:RadPanelBar ID="leftPanels" runat="server" Height="100%" ExpandMode="SingleExpandedItem" Width="180px" 
                        PersistStateInCookie="true" />                 </div>            </ContentTemplate>       </asp:UpdatePanel>    </telerik:RadSlidingPane>
[InvalidOperationException: Cannot convert object of type 'System.String' to type 'System.String[]']
   System.Web.Script.Serialization.ObjectConverter.ConvertObjectToTypeInternal(Object o, Type type, JavaScriptSerializer serializer) +305914
   System.Web.Script.Serialization.ObjectConverter.ConvertObjectToType(Object o, Type type, JavaScriptSerializer serializer) +192
   System.Web.Script.Serialization.ObjectConverter.AssignToPropertyOrField(Object propertyValue, Object o, String memberName, JavaScriptSerializer serializer) +284
   System.Web.Script.Serialization.ObjectConverter.ConvertDictionaryToObject(IDictionary`2 dictionary, Type type, JavaScriptSerializer serializer) +1349
   System.Web.Script.Serialization.ObjectConverter.ConvertObjectToType(Object o, Type type, JavaScriptSerializer serializer) +192
   System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(String input) +66
   Telerik.Web.UI.RadPanelBar.LoadState(String state) +152
   Telerik.Web.UI.RadPanelBar.LoadStateFromCookie() +257
   Telerik.Web.UI.RadPanelBar.OnPreRender(EventArgs e) +60
   System.Web.UI.Control.PreRenderRecursiveInternal() +108
   System.Web.UI.Control.PreRenderRecursiveInternal() +224
   System.Web.UI.Control.PreRenderRecursiveInternal() +224
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3394

Thank you
Laurentiu
Kate
Telerik team
 answered on 10 Jan 2012
3 answers
178 views
Greetings:

I am currently evaluating the RadRibbonBar.  If I add one too many tabs, the rightmost tab disappears.  If I reduce the browser size too far, more tabs are not visible. 

Simulating this same behavior in Microsoft Office 2010, a small scroll arrow appears on the right side of the bar to allow the user to scroll to the right to see the overflowed tabs.

QUESTION:
How do I enable the viewing of excess tabs in the RadRibbonBar?

Please advise.

Thanks,

Robb
Kate
Telerik team
 answered on 10 Jan 2012
3 answers
124 views
Hi all,
I am using a RAD Menu Control.. and I want to increase the height of root menu.. How can I do this?????????
Kate
Telerik team
 answered on 10 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?