Telerik Forums
Community Forums Forum
0 answers
72 views
Cufon is awesome.  You generate a font, then attach it and the Cufon.js to your site.

What you get is instant client-side text replacing.  If done properly you won't even see the text popping to your Cufon font.  Even better, it supports all but the oldest browsers (even works on IE6!)

I prefer Cufon over other flash based alternatives because (and obviously) we're not relying on a plugin to be installed...just javascript enabled.

Tips:
1) use Cufon.now() at the bottom of the page above your .js scripts (like google analytics)
2) Older browsers w/out a css selector engine need the jQuery library loaded before cufon
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 asked on 27 Dec 2009
1 answer
315 views
I'm more of a Designer/Front-End guy but trying hard to understand .NET and learn as much as I can. I had a developer help me with some of this, but I'm still stumped.

I'm confused as to how I can get my form to validate using the validation controls.

Whenever I call the onClick="send_Click" it bypasses the validation and runs the form string and redirects to my thankyou.aspx.

When I replace it with the onClientClick it validates but fails to run the code in the aspx.cs file.

Here is a snippet of what is on the form page aka howtoget.aspx.

<div class="formboxit2">
        <div class="contactlabelist2"><span style="color:#246FF5">*</span><label>Email</label></div>
        <div class="contactinputist">
            <telerik:RadTextBox ID="Email" runat="server" Height="19px" Width="200px" BorderColor="White" BorderStyle="Solid" BorderWidth="2px" CssClass="radPad" Skin="Office2007" Font-Bold="True" Font-Names="Arial" Font-Size="12px" LabelCssClass="">
                <FocusedStyle BorderColor="#246FF5" BorderStyle="Solid" BorderWidth="2px" />
                <HoveredStyle BorderColor="#246FF5" BorderStyle="Solid" BorderWidth="2px" />
            </telerik:RadTextBox>
            
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" Display="Dynamic"
            ControlToValidate="Email" ErrorMessage="The textbox can not be empty!" EnableClientScript="False" />
        </div>
</div>
<div class="formboxitM">
    <div class="contactlabelist"><label>Message</label></div>
    <div class="contactinputist">
        <telerik:RadTextBox ID="Message" runat="server" Height="114px" TextMode="MultiLine" Width="634px" BorderColor="White" BorderStyle="Solid" BorderWidth="2px" Skin="Office2007" Font-Bold="True" Font-Names="Arial" Font-Size="12px" LabelCssClass="">
            <FocusedStyle BorderColor="#246FF5" BorderStyle="Solid" BorderWidth="2px" />
            <HoveredStyle BorderColor="#246FF5" BorderStyle="Solid" BorderWidth="2px" />
        </telerik:RadTextBox>
    </div>
</div>
<div class="contactinputistSub"><asp:button runat="server" ID="send" onClick="send_Click" BorderStyle="None" BorderWidth="0px" CssClass="swerps" /></div>
<div class="inquiry">*Your information will only be used for this inquiry.</div>   


and here is what I have on the aspx.cs

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Net.Mail;
using Telerik.Web.UI;

namespace domain.com
{
    public partial class howtoget : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
       }

        protected void send_Click(object sender, EventArgs e)
        {
            try
            {
                string firstname = this.FirstName.Text;
                string lastname = this.LastName.Text;
                string phone = this.Phone.Text;
                string email = this.Email.Text;
                string messageoftext = this.Message.Text;
                string bodyoftext = firstname + " " + lastname + " " + "has requested to be contacted. " + firstname +
                    "'s email address is: " + email + " . You may contact this person at: " + phone + " . " + firstname+ " has left message: " + messageoftext;
                MailMessage message = new MailMessage("info@domain.com", "info@domain.com", "Customer Request", bodyoftext);
                SmtpClient emailClient = new SmtpClient("relay-hosting.secureserver.net ");
                message.IsBodyHtml = true;
                emailClient.Send(message);
                Response.Redirect("thankyou.aspx");
            }
            catch (Exception mailex)
            {
                Response.Write(mailex.ToString());
            }
 
        }
    }
}


sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 27 Dec 2009
1 answer
196 views
How Do I Get Notifications of Updates?  I'd like an e-mail when new updates to Telerik products are released.  I'm apparently on some kind of e-mailing list, I'm a fan of Telerik's Facebook Page and I was interacting with Telerik staff almost daily.  Yet somehow I was never informed of WinForms Q3 2009 SP1 being released.  It looks like you normally post new release news in the Forum but it looks like noone posted about the WinForms Q3 2009 SP1.  Even if someone did, I don't want to have to check the Forum (even as an RSS Feed) or my Facebook Wall.  I'd like update notifications via e-mail.  Thanks.
Vassil Petev
Telerik team
 answered on 23 Dec 2009
1 answer
104 views
Hello,
If you want t o find some good icons please look at Icon Finder.
Please let me know If you find some other nice tools.

Best regards,
Mostafa Anoosheh
Mostafa Anoosheh
Top achievements
Rank 1
 answered on 23 Dec 2009
0 answers
70 views
Hello,
I want to share this: 50 of the Best Free Icon Sets of 2009

Best regards,
Mostafa Anoosheh
Mostafa Anoosheh
Top achievements
Rank 1
 asked on 23 Dec 2009
0 answers
60 views
Hello,

Hello,

I hope this useful 11 resources to learning JavaScript and jQuery

Best regards,

Mostafa Anoosheh

Mostafa Anoosheh
Top achievements
Rank 1
 asked on 23 Dec 2009
0 answers
109 views
Hello,
There are times when you work with SSL traffic. Your website might be protected with a certificate so that traffic between you and the client is secure. At times like this, being a developer is troublesome. Browser cache settings need to be analyzed by looking at the HTTP headers. Encoding / Content type may need to be analyzed to ensure that a particular page is displayed correctly. These things cannot be looked into if the traffic is secure. There are situations under which the environment is secure but you must still sniff the data. So how do you manage this?
Read more at Debugging HTTPS traffic

Best regards,
Mostafa Anoosheh
Mostafa Anoosheh
Top achievements
Rank 1
 asked on 22 Dec 2009
0 answers
69 views
Hello,

In most online business the revenue of the site solely depends on the registered and active users and Making the visitor of your site to sign up isn’t easy, nobody likes to fill in forms .

Web forms bridge the gap between the product and the customer therefore, we designers, need to figure out sound design make the form completion process easy.

Read more at: Interface Design Inspiration | 30 Impressive Ways to Design Sign-Up Page/Form

Kind regards,
Mostafa Anoosheh
Mostafa Anoosheh
Top achievements
Rank 1
 asked on 22 Dec 2009
1 answer
306 views
I recently ran into a problem where IIS is refusing to handle a URL which contains one of the reserved words.  In my case, I accept URLs for company searches by their ticker symbol, in the form of http://<myhost>/search/ticker/<tickersymbol>

At random, I tried searching for "CON" last night and found that http://<myhost>/search/ticker/con immediately generates an error in IIS.  aarghh!

Is there a workaround for this?  Maybe an IIS config switch to allow these URLs through anyway?  googling for this problem turned up a couple other people describing this, but I found no solution, other than "don't do this!"  The only alternatives I see are to change the search URL to take the ticker symbol as a parameter instead (ugh), or to append a special character onto the ticker in the URL, like "/con_".  However, I'd much rather just have IIS not reject the URL in the first place, if that's possible.

Any insight into dealing with this problem would be appreciated!

Nicolaï
Top achievements
Rank 2
 answered on 22 Dec 2009
0 answers
54 views
Hello,
I hope you find it useful.
Check it at 25+ Highly Useful jQuery Plugins Bringing Life back to HTML Tables

Kind regards,
Mostafa Anoosheh
Mostafa Anoosheh
Top achievements
Rank 1
 asked on 22 Dec 2009
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?