Karatas, FERHAT
I would love to change the world, but they won't give me the source code!
Ajax Control Toolkit-Framework3.5 SP1 - Version 3.
28.09.2008 14:26:58 - Filed under : Asp.net | AJAX
Release Notes - Version 3.0.20820
2008-08-20 release of the AJAX Control Toolkit targets the official release of .NET Framework 3.5 SP1 and Visual Studio 2008 SP1.

To download :
http://www.codeplex.com/AjaxControlToolkit/Release/ProjectReleases.aspx?ReleaseId=16488

How To Implement :
  • Download source version. (AjaxControlToolkit-Framework3.5SP1.zip)
  • Extract it to C:\Program Files\Ajax Control Toolkit (create directory)
  • Copy content of C:\Program Files\Ajax Control Toolkit\SampleWebSite\Bin to C:\Program Files\Ajax Control Toolkit\Binaries
  • In VS2008 toolbox. Add tab - Choose items
  • Select C:\Program Files\Ajax Control Toolkit\Binaries\AjaxControlToolkit.dll

Keywords : Ajax Toolkit 3.0, Updates for .NET Framework 3.5 SP1 and Visual Studio 2008 SP1
with 0 comments

HOW TO: Dynamically Create Controls in ASP.NET
24.09.2008 10:07:17 - Filed under : Asp.net
This article demonstrates how to dynamically create/handle a control for an .aspx page.

<form id="form1" runat="server">
        <div>
            <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True">
                <asp:ListItem>1</asp:ListItem>
                <asp:ListItem>2</asp:ListItem>
                <asp:ListItem>3</asp:ListItem>
                <asp:ListItem>4</asp:ListItem>
                <asp:ListItem>5</asp:ListItem>
                <asp:ListItem>6</asp:ListItem>
                <asp:ListItem></asp:ListItem>
            </asp:DropDownList>
            <asp:Label ID="Label1" runat="server"></asp:Label><br />
            <asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
            <br />
            <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="Read" />
        </div>
    </form>

        protected void Page_Load(object sender, EventArgs e)
        {
            CreateTextBox(Int32.Parse(DropDownList1.SelectedItem.Value));
        }

        void CreateTextBox(int Total)
        {
            for (int i = 0; i < Total; i++)
            {
                TextBox TextBox1 = new TextBox();
                TextBox1.ID = "TextBox1" + i.ToString();
                TextBox1.TextChanged += new EventHandler(TextBox_TextChanged);
                PlaceHolder1.Controls.Add(TextBox1);   
            }
        }

        void TextBox_TextChanged(object sender, EventArgs e)
        {
            TextBox txtBoxSender = (TextBox)sender;
            Label1.Text += txtBoxSender.Text +"-";
        }

        protected void Button2_Click(object sender, EventArgs e)
        {
            // Todo : other operation
        }

Another example : http://support.microsoft.com/kb/317794

Keywords : Create and handle dynamic controls.
with 0 comments

VS 2008 and .NET Framework 3.5 SP1
25.08.2008 10:56:50 - Filed under : C# | Asp.net | Ado.net
Microsoft .NET Framework 3.5 Service Pack 1
Microsoft .NET Framework 3.5 Service Pack 1 is a full cumulative update that contains many new features building incrementally upon .NET Framework 2.0, 3.0, 3.5, and includes cumulative servicing updates to the .NET Framework 2.0 and .NET Framework 3.0 subcomponents.

Microsoft Visual Studio 2008 Service Pack 1
Improved WPF designers, SQL Server 2008 support, ADO.NET Entity Designer,Richer JavaScript support, enhanced AJAX and data tools, and Web site deployment improvements and so on.

For more details : http://msdn.microsoft.com/en-us/vstudio/products/cc533447.aspx

Keywords : Service Packs, VS 2008 SP1, .NET Framework SP1
with 0 comments

Asp.net menu in Safari
06.08.2008 15:59:18 - Filed under : Asp.net
Asp.Net 2.0 Menu Control is not working with Mac Safari browser properly. The mouseovers simply do not work, and when you click on one of the links, the menu disappears completely. This is a known issue.  First off, Safari gets served the menu adaptor which is fully functional but does not support the dynamic fly-outs.

Use below code to your page_load event and see the magic.
if (Request.UserAgent.IndexOf("AppleWebKit") > 0)
{
 Request.Browser.Adapters.Clear();
}
If you are using Master page then paste this code into master page code behind page.

Keywords : Mac Safari, asp.net, hack
with 0 comments

IE Tab for Firefox
05.08.2008 07:40:33 - Filed under :
IE Tab - an extension from Taiwan, features: Embedding Internet Explorer in tabs of Mozilla/Firefox.

It's useful for all developers to test their website.

Click here to download and install.

Keywords : IE Tab, add-ons, firefox
with 0 comments

Previous | Next
Current Page: 1