Telerik Forums
Community Forums Forum
4 answers
61 views
Hello,
I think it's good if you can provide a place in site for reporting bugs of Telerik web site

Regards
Mostafa Anoosheh
Top achievements
Rank 1
 answered on 10 Feb 2006
0 answers
60 views
I have a textured (1000x800) background (not bg color). On that I want to over lay an imge that is text. I have both the files in Photoshop. For the text file, I type in the text and then do Convert to Shape. But when I save it for web, a white box appears around the text. I want to do this because I could save images that show on top of my textured background and these images could be menu items.
Asit Aithal
Top achievements
Rank 2
 asked on 31 Jan 2006
5 answers
150 views
In doing updates with some applications that are using nearly all of the controls, I find it much quicker to overwrite the entire RadControls folder in the root of the app.  More often than I'd like to admit, this over-writes the customizations that I've made to any of the xml config files for each control.  Now, I know that may sound like a bit of whining, and I know that all I'd have to do is backup the configuration files before over-writing, but maybe I can propose another solution that would become the default.

This would be to have another folder at the root of the application, called RadControlsConfig, which would contain all of the xml files for each control that define its configuration.  Within that folder would be a folder for each control as necessary, as well as a file called "globals.xml" which could define for all the controls, properties that are shared between them.

Again, I know that this can be accomplished now by creating these folders myself, and moving all the necessary files over.  However, that would also entail changing the default location where the controls "look" for these files.  What I'm thinking about here is that by default, a developer could update all the controls by overwriting the entire RadControls folder without affecting customizations.

Probably a much more complicated thing to actually do than to suggest, but I had to throw it out there as an idea nonetheless.
Shaun Peet
Top achievements
Rank 2
 answered on 26 Jan 2006
0 answers
51 views
Usually I just double click a label or other control while in HTML mode and it takes me to the code behind and it's usually updated with the latest control definitions. It doesn't always remove the references to controls that I've since deleted from the HTML.

I ask because once, a long time ago, I was reading a forum or possibally a newsgroup and a Microsoft Rep described their recommended way to have VS.Net (it was 2002 at the time) update the code behind page and at the time I didn't realize the relevance and didn't pay attention. It wasn't the technique I generally use.

I'd just like to know what method others are using and if anyone knows the "officially sanctioned" procedure.
Josef Rogovsky
Top achievements
Rank 2
 asked on 20 Jan 2006
4 answers
170 views
Am I the only one who thinks this website often is slow? Not that I haven't time to wait for the pages to load, but maybe some people will think the radcontrols are slow and/or too heavy. I access the site from Sweden.
Vassil Petev
Telerik team
 answered on 19 Jan 2006
2 answers
112 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
145 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
97 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
96 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
166 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?