Telerik Forums
Community Forums Forum
2 answers
100 views
Hello!

Since I am using Telerik controls very intense, is there any RSS or something else which represents telerik rad.* roadmap. I mean detailed info on future plans. So I could see if telerik going to implement any feature (for example, highlighting of grid row on mouseover) I can: code this right now or wait for next release (however I create row highlighting already).

Thanks for feedback.
Alexander Honcharov
Top achievements
Rank 1
 answered on 16 Jan 2006
1 answer
134 views
I see a ToolBoxInstaller.exe inside my radcontrols installation folders. Does this should add the controls to the toolbox in vs2003 and 2005?

If not, it would be very nice if you could supply this..
Thanks
Marco
Hristo Deshev
Telerik team
 answered on 16 Jan 2006
3 answers
89 views
Hello:

I need help from an knowledgable expert in Windows networking.  In my LAN, I have 5 webservers and one of them is the domain controller.  I don't have a backup Domain Controller.  The LAN is solely comprised of Windows 2000 Server/Advanced servers.  The Domain Controller happens to also be configured as a DNS server.

My problem is that the harddisk (not mirrored -- so I'm SOL) just went belly up.  All of the other machines on the LAN are functioning fine, except now they don't have a Domain Controller to keep things synced.

I would like to know if its possible to just build a new Domain Controller and somehow get the other machines to join the new box or, now that the Domain Controller is history and I don't have a backup, will all the other machines forever-more only run in Stand Alone mode.

Need help and advice ASAP.  Unfortunately, I'm not a MCSE.

Thanks,

-Mark
Mark Chipman
Top achievements
Rank 1
 answered on 16 Dec 2005
5 answers
89 views
On the lefthand side we only get to see our 5 most recent subscribed threads and I was curious how many I had subscribed to so I clicked the More button (something I must have never done before).  When I clicked it, I was shocked to see that I was subscribed to 200 threads (perhaps a limit).  Then I got to looking and some of those threads were threads that I have never posted in.  I generally only subscribe to a thread when posting to it.  I looked over and a very large number of those threads I don't believe I had actually subscribed to.

Perhaps something funny is going on here with the subscription feature?

-Shane
Vassil Petev
Telerik team
 answered on 16 Dec 2005
3 answers
145 views
As much as we all love Telerik controls, we also dread the fact that a 50kB page using textboxes and dropdown lists can easily become over 500kB once you convert some of those into radInput boxes and radComboboxes and this is a very hard thing for some users who don't have broadband.  I'm working on a data-input page that is beginning to reach 1MB in size (just HTML) under some scenarios and we finally spent a few hours to do something about it.

With .NET 2.0 we are given System.IO.Compression that allows us to easily implement HTTPCompression on a per-application basis and if we want to get creative with our C#, we can customize it even more!

If you take a look here you will see a tutorial on how you can get this up and working.  Once you implement this, it works great, almost...

Once you follow all of their instructions and run a few tests you will find that your pages are now using HTTPCompression saving you mucho bandwidth as well as making large downloads much faster for your users!  HOWEVER, you will also notice that images begin to break and occassionally IE will crash!  All is not well!

As I'm sure many of you know, IE (and I believe some versions of Mozilla-based browsers though I could be wrong) have a/some bug(s) in them that causes them to not properly handle images and other things (PDFs don't get properly passed to Adobe, etc.) when they are compressed with HTTPCompression.

I've taken the above-linked demo and modified the logic to allow you to control what does and does not get compressed.  I basically take the URI being requested and do a search for ".htm" or ".aspx" and if I find it, I compress the response, otherwise I leave it alone.  This is not a fool-proof system as it would compress foo.htm.jpg even though it's an image and it would not (at least I don't think it would) compress "http://www.domain.com/" as the actual URI being requested doesn't specify the actual page so these two things should be kept in mind as "loopholes" in my system but it's good enough for me.  :)


Here's the code:



using System;

using System.Collections.Generic;

using System.IO;

using System.IO.Compression;

using System.Text;

using System.Web;

namespace MSDN.Demo.Whidbey.Compression

{

    public class HttpCompressionModule : IHttpModule

    {

        public HttpCompressionModule()

        {

        }

        void IHttpModule.Dispose()

        {

        }

        void IHttpModule.Init(HttpApplication context)

        {

            context.BeginRequest += new EventHandler(context_BeginRequest);

        }

        void context_BeginRequest(object sender, EventArgs e)

        {

            //

            // Get the application object to gain access to the request's details

            //

            HttpApplication app = (HttpApplication)sender;

            //

            // Accepted encodings

            //

            string encodings = app.Request.Headers.Get("Accept-Encoding");

            //

            // No encodings; stop the HTTP Module processing

            //

            if (encodings == null)

                return;

                  if (ShouldCompress(app.Request.Url.ToString()))

                  {

                        //

                        // Current response stream

                        //

                        Stream baseStream = app.Response.Filter;

                        //

                        // Find out the requested encoding

                        //

                        encodings = encodings.ToLower();

                        if (encodings.Contains( "gzip" ))

                        {

                              app.Response.Filter = new GZipStream( baseStream, CompressionMode.Compress );

                              app.Response.AppendHeader( "Content-Encoding", "gzip" );

#if DEBUG

                              app.Context.Trace.Warn( "GZIP compression on" );

#endif

                        }

                        else if (encodings.Contains( "deflate" ))

                        {

                              app.Response.Filter = new DeflateStream( baseStream, CompressionMode.Compress );

                              app.Response.AppendHeader( "Content-Encoding", "deflate" );

#if DEBUG

                              app.Context.Trace.Warn( "Deflate compression on" );

#endif

                        }

                  }

        }

            private bool ShouldCompress( string s )

            {

                  string str = s.ToLower();

                  if ((str.Contains( ".aspx" )) || (str.Contains( ".htm" )))

                  {

                        return true;

                  }

                  else

                  {

                        return false;

                  }

            }

    }

}



Enjoy!
Josef Rogovsky
Top achievements
Rank 2
 answered on 16 Dec 2005
2 answers
70 views
Hello

Is it possible (or will it become possible ;-) to view new posts since the last time you visited the forum.

Thanks

Marco
Marco Dissel
Top achievements
Rank 1
 answered on 05 Dec 2005
1 answer
86 views

Hello

Here is misc question:
In VS 2003 I used defined events in InitializeComponent

NewsList.ascx
private void InitializeComponent()
{   
   //event for usercontrol
   this.PreRender +=new EventHandler(NewsList_PreRender);
   //event for telerik control
   RadToolbar1.OnClick += new Telerik.WebControls.RadToolbar.OnClickDelegate(RadToolbar1_OnClick);
}

How (where) do I define those two event handlers in VS 2005 in partial class (I always use partial class)?

I would like a practical example of the above code! Thank you for help!

Lp
Sebastijan

Vladimir Milev
Telerik team
 answered on 05 Dec 2005
1 answer
128 views
Hello telerik,

When I want to download my r.a.d.control suite (about 128mb), it is very slow! At the same machine I can get download speeds of e.g. 2500KB/Sec.

Is there something wrong with my connection or with the upload capacity of your servers? I used to get normal download speeds at telerik, but for a month or two, it is very slow...

Hope there is an explanation for this?

Thanks!
Daniel
Boyko
Telerik team
 answered on 30 Nov 2005
1 answer
117 views
I know this isn't a telerik caused problem it is an ASP.Net 2.0 issue so figure I'd ask it here since it involves a telerik control.  I am having a problem that is probably easy but has me stumped. I am using ASP.Net 2.0 and have a master page with a menu system and then pages inherit from it. But I have a page I would like to put javascript on to use the spellcheck on more than one element, which works fine in ASP.Net 1.1.

I know on buttons I can add the attribute OnClientClick="return confirm('Are you sure')" but the script for multiple element spell checking is much more complex. If I put in a webcontrol everytime it runs it fails with an error saying my <head> tag needs the runat="server" attribute which the masterpage does have and I can't put it in a page that uses the master or the webcontrol since the head tag isn't allowed in either one...

The problem seems to be how do you do client side javacript when you are using masterpages?

Any and all suggestions are welcome...

thanks in advance

Al
Shaun Peet
Top achievements
Rank 2
 answered on 28 Nov 2005
4 answers
212 views
Hello,

Along the years our development environment has seen quite a few enhanced, specially since the arrival of .NET web development. The VS editor, syntax highlighting, auto complete, debugging, etc.. are all tools that help us write better solutions, quicker. What I am still missing is a set of tools to edit, manage, debug these little javascript code fragment. As all your controls generate quite a few javascripts, I was wondering what tools you use internally while elaborating these scripts ? Some recommendations ?

Cheers
Roger
armand datema
Top achievements
Rank 2
 answered on 09 Nov 2005
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?