Telerik Forums
UI for ASP.NET AJAX Forum
16 answers
478 views
Hi,  After upgrading to Q1 2009, when I enter design view All of the rad controls in my project show

Error Rendering Control
Error Creating Control

If I delete the dlls from the bin folder and drag a control from the toolbox I get

System.IO.FileNotFoundException for the control I just dragged over.

I converted the RadControlsExamples project to vs 2008 and the same thing happens with the live examples in vs 2008 with .net 3.5 that are installed on my machine.

All of the controls run its just the design time error.  I ran into this a while ago and it was fixed in a new build.

Also is there a detailed doc that explains what changes were made to the skins from 08 to Q109,   I assumed they would be upgraded for the new release not drastically changed as they are.  I thought I was being smart having my clients select the rad skins they like then having my graphic designer design the site based on the controls so I wouldn't have to deal with a lot of customizing.  Ive noticed colors have changed between 08 and 09,  setup of the sprite files has changed, sizes have changed, etc...  I either have to have my designer do some re-designs or I need to take the 08 skins and convert them to 09 myslef without changing so much.

I already had my designer re-do some designs for my clients since I knew the default2006 skin would be going away,  which was the skin most of my clients liked, but now the skins have drastically changed.

Why couldn't you at least keep the colors / images the same while upgrading the skins for the new release?  Then if you wanted a new look then add more skins.







Bruce Hochstetler
Top achievements
Rank 2
 answered on 25 Mar 2009
4 answers
140 views
The ConfirmText property for the AutoGenerateDeleteColumn?  Cannot find it anywhere.  I'm trying to set up a delete confirmation for the grid.

derek
Top achievements
Rank 2
 answered on 25 Mar 2009
3 answers
283 views
Hello,

I am using RadInputManager to do client-side form validation. I used a similiar setup as described in this blog post:

http://blogs.telerik.com/toddanglin/posts/08-12-12/Showing_RadToolTip_on_RadInput_input_error.aspx

I can't seem to find a way to make both validating on RegExpTextBoxSetting and field required work. What happens is that the OnError event is fired, but the textbox doesn't receive a proper "RadInput_error_default" class. On fields which only have a "TextBoxSetting Validation-IsRequired="true"" validator set, this class is set to indicate a invalid input. This only seems to happen on submit, not on blur of the textfield.

This is the (simplified) code I am using:
<telerik:RadInputManager ID="inpManager" runat="server"> 
        <telerik:TextBoxSetting Validation-IsRequired="true" > 
            <TargetControls> 
                <telerik:TargetInput ControlID="txtName" /> 
            </TargetControls> 
        </telerik:TextBoxSetting> 
        <telerik:RegExpTextBoxSetting ErrorMessage="email" ValidationExpression="^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$"> 
            <ClientEvents OnError="onClientRegTxtError" OnKeyPress="onClientTextChanged" /> 
            <Validation IsRequired="true" ValidateOnEvent="All" /> 
            <TargetControls> 
                <telerik:TargetInput ControlID="txtEmail" /> 
                <telerik:TargetInput ControlID="txtReceiptEmail" /> 
            </TargetControls> 
        </telerik:RegExpTextBoxSetting> 
    </telerik:RadInputManager> 
So, to recap, what's happening is that the validater does seem to work, but doesn't show visual feedback by providing the proper CSS class. So when I press the Submit button, only the Input's which aren't using RegExp are highlighted as errorous.

Also, another question, when using the tooltips as suggested by the blog post, the error message is shown double. Both in the inputbox itself, and in the tooltip. I've currently "solved" this by saving the ErrorMessage property and setting it to "", It there a more elegant way to do this?

Thanks in advance for any suggestions.






Rosen
Telerik team
 answered on 25 Mar 2009
2 answers
142 views
Hi there,

I'm using the RadAjaxManager to handle AJAX in my site. When using standard .NET controls (linkbutton, literal etc.) the AJAX works and client events fire as expected. However, when I use my own controls (from a class library) the AJAX works, but the client events do not fire. Do you have any ideas why that might be?

Thanks,
Jon.

the code in my initiating control is:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Xach.WebControls;
using Telerik.Web.UI;

namespace Xach.CMS.WebControls
{
    public class LightboxLink : Control, INamingContainer
    {
        public string Control { get; set; }
        public string LightboxControllerID { get; set; }
        public string Text { get; set; }
        public string CssClass { get; set; }

        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            // wire up ajax
            List<Control> list = Page.Master.FindControlsByType(typeof(RadAjaxManager));
            RadAjaxManager manager = list[0] as RadAjaxManager;
            manager.AjaxSettings.AddAjaxSetting(this, Page.Master.FindControlRecursive(LightboxControllerID));
            
            /*manager.AjaxSettings[manager.AjaxSettings.Count - 1].EventName = "lightbox";*/
        }

        protected override void CreateChildControls()
        {
            LinkButton button = new LinkButton() { Text = Text, CssClass = CssClass };
            button.ID = "LbButton";
            button.Click += new EventHandler(button_Click);
            button.OnClientClick = "lightBox.start()";
            Controls.Add(button);
        }

        protected void button_Click(object sender, EventArgs e)
        {
            LightboxController controller = (LightboxController)Page.Master.FindControlRecursive(LightboxControllerID);
            controller.CreateLightboxControl(Control);
        }
    }
}

and in the updated control:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Xach.CMS.WebControls
{
    public class LightboxController : Control
    {
        protected override void CreateChildControls()
        {

            base.CreateChildControls();
        }

        public void CreateLightboxControl(string control)
        {
            //HttpContext.Current.Response.Write("loaded");
            Control ctrl = Page.LoadControl(control);
            Controls.Add(ctrl);
        }
    }
}





Jonathan
Top achievements
Rank 1
 answered on 25 Mar 2009
1 answer
75 views

Hi i am using the version  2008.3.1125.35

I need a good sample of busy icon while loading:
i have a grid and a pager tamplate in it.
whenever user tries to use the pagin related controls i want to show the busy icon till it loads.

the demo samples did not help me since i could not find the specified properties

Please give me some simple sample

thanks
-Krishna
Daniel
Telerik team
 answered on 25 Mar 2009
1 answer
122 views
Hi,

I have a scenario where I need to add different controls to datagrid rows at runtime and the datagrid has to be dynamic as well. Basically the page has only got placeholder and I need to create datagrid and then add rows according to the number in the database and add different controls like textbox, dropdownlists etc for each column in the row and add that row to the grid.
I have tried few different things but nothing seem to work. Can anyone please help me with this?

Thanks
Atiq
Daniel
Telerik team
 answered on 25 Mar 2009
2 answers
132 views
There seems to be a problem with the document ready state being ready before RadFormDecorator decorates the controls on the page. jQuery nor document.getElementById is not finding the controls in the document ready function. All attempts return null in IE but work fine in FireFox.

I disabled RadFormDecorator and the problem went away.

Any ideas?
chris_cf
Top achievements
Rank 2
 answered on 25 Mar 2009
4 answers
194 views
I'm looking for advice on the best way to implement a scheduler in a web app that will have multiple users creating/editing appointments.  I need to make sure that every user's schedule is updated periodically.

Performance is always an issue so I'd like to try the new web service feature of RadScheduler.  If I do, I don't know how to initiate a refresh from the client (If I were using normal postbacks I'd just do a RadAjaxTimer).  Any advice?

As for collisions (two users editing the same appointment) I think I can just deal with that in my Scheduler's data provider.
Tree
Top achievements
Rank 1
 answered on 25 Mar 2009
3 answers
201 views
Good morning!  I'm working on a project using the RadScheduler and I keep getting this problem... when I try to delete an appointment, it asks if I want to delete the series or just one occurence.  Whenever I post a new appointment, regardless if I set it to recurring or not, it sets itself as a recurring appointment.  Therefore, I cannot delete appointments by one event, I get an error saying:

Cannot parse parentAppointment recurrence rule during delete operation. Appointment ID is 28, parentAppointment ID is 28.

I'm trying to figure out what I'm doing wrong and why it's still setting appointments as recurring.  I used the examples in the live demos to help me with this, but it's still happening.  Also, the delete icon is on the lefthand side instead of the right, any ideas on why this happened as well?

The last thing that's happened is I cannot get my Ajax working, I've tried and it doesn't show the loading panel.  Any suggestions on that as well?

I've attached my project, but cannot send the database as it is too large.  Any help is appreciated, thanks!

Amanda
Amanda
Top achievements
Rank 1
 answered on 25 Mar 2009
1 answer
149 views

Hi telerik,
I'm testing File Explorer. (great tool!)
It does everything except "create new folder".
It gives me the follwing error : "Request for the permission of type 'System.Security.Permissions.FileIOPermission ...."

I'm running on a shared hosting medium trust (with extra more open assemblies)
IIS 7.0, ASP.NET 3.5 windows 2008 server.

What's wrong ?

I can send my web.config plus  medium trust config in  a support ticket  if needed!
Tervel
Telerik team
 answered on 25 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?