weblogs.com.pk

Proud To Be Pakistanis!
Welcome to weblogs.com.pk Sign in | Join | Help
in Search

Browse by Tags

All Tags » ASP.NET
Showing page 2 of 2 (98 total posts)
  • Points to motivate developers to prefer using ObjectDataSource

    From management and/or architect perspective; using ObjectDataSource is preferred; but from developer’s view; SqlDataSource is much easier way to go. Give me 5 good points that can be used to motivate developers to prefer using ObjectDataSource. <smile />
    Posted to Khurram Aziz (Weblog) by khurram on January 25, 2006
  • Nested User Controls

    Today while winding up my current project; I wanted to export everything as a single user control that can be used in any ASP.NET v2 web application; by just dropping the control on the page. For this I needed to implemented nested user controls; that is my exposed user control loads other helper user controls as the visitor flows across the ...
    Posted to Khurram Aziz (Weblog) by khurram on January 24, 2006
  • Asp.NET v2 Compilation Model

    As said before; ASP.NET v2 compilation model is slightly different than its previous versions. In ASP.NET v2; assembly for each page is generated; thus; theoretically speaking you can have each page written using its own language. However its not yet achievable in ASP.NET v2 implementation; the only thing you can get right now is to define ...
    Posted to Khurram Aziz (Weblog) by khurram on January 21, 2006
  • Master Detail with DataSourceControls

    To implement master-detail using ASP.NET v2's new DataSource control; we can have two DataSource control; lets assume first is retrieving summaries and the second retrieve the detail information. The second data source will be parametric. Lets assume there are two GridViews bound to these two data source controls. Then in the ...
    Posted to Khurram Aziz (Weblog) by khurram on January 21, 2006
  • DNN4 :: Enterprise Library

    Last month; when my team started working on a very exciting new project; we all decided that we will use .NET v2 for all aspects of the project. We still are trying to make SQL 2005 available for this project; its new features like Service Broker will definitely help us. Anyways; last week I disconnect myself from that project to complete couple ...
    Posted to Khurram Aziz (Weblog) by khurram on January 21, 2006
  • Procedure or function &amp;amp;lt;YourProcName&amp;amp;gt; has too many arguments specified

    If you are using Data Source Control and receiving the exception, Procedure or function <YourProcName> has too many arguments specified; this can be due to the reason that in your data control some child control is binded to some column which is not available in the Select command of your data source control. E-g in a template following ...
    Posted to Khurram Aziz (Weblog) by khurram on January 13, 2006
  • DataSource Parameters

    If you are using SqlDataSource [ASP.NETv2]; and you need to pass on certain parameters not accessible using Form, Cookie, QueryString or Session, use simple Parameter and data-bound control’s even like Inserting, Updating or Deleting. In the even you can write a code like protected void FormViewModels_ItemInserting(object sender, ...
    Posted to Khurram Aziz (Weblog) by khurram on January 13, 2006
  • Hajj and Eid Wishes :: Data Source Controls

    Well wishes to all the Hajj pilgrims and Eid wishes for the rest. I got very few time for my PSK2 endeavor, due to Eid shopping and some pending work that needed to be done at our place. PSK2 is now called SilverBulletPortal (SBP). Why Silver Bullet? I will post about it some other time <smile /> I have completed implementing and ...
    Posted to Khurram Aziz (Weblog) by khurram on January 8, 2006
  • PSK2 :: ASPNET Providers

    Happy weekend to everyone… Today we went to receive the report card of our son. He has received certificate in Enthusiasm, and his teacher has advised us to buy Abdullah more books; as he has tendency to explore new things. I am feeling great, but my wife wanted some certificate in Speaking or Writing skills <smile /> Abdullah has gone ...
    Posted to Khurram Aziz (Weblog) by khurram on January 7, 2006
  • Portal Starter Kit :: Membership And Role Provider

    Today I again worked on my PSK2 thingy. I wanted to make a proof of concept by implementing a custom membership and role provider on ASP.NET v2 platform to show how easy things can get and how one can integrate it even with existing applications. I took some time, at my work and implemented these two custom providers. I preferred Portal Starter ...
    Posted to Khurram Aziz (Weblog) by khurram on January 5, 2006
  • Outsourced opportunity – SMS / MMS application

    A Saudi Arabia based e-news/stock company wants to outsource an application dealing with SMS/MMS. The bird's eye view of the application is like.   1) User can subscribe to the SMS/MMS service through the website or by sending SMS with a given code to a given number           E.g. SMS 195 BN ...
    Posted to Aziz ur Rahman (Weblog) by aziz on December 27, 2005
  • Master Pages and FindControl

    First let me confess; I am not good in UI programming. I am not in touch with it anymore. In my PSK2 project; I implemented ASPNET2’s Master Pages; and the problem I faced that if your page has any master page; the control’s ids get changed and FindControl(controlid) doesn’t work anymore. The following code doesn’t work string controlToFind = ...
    Posted to Khurram Aziz (Weblog) by khurram on December 15, 2005
  • PSK2 Goals

    It’s getting colder day by day… In evening; I had been thinking about the little project I have planned to keep myself engaged for days to come. I will refer to it by name PSK2 (Portal Starter Kit v2). My goals are To experiment with SubVersion; I want to use its branching and merging options; and want to show how its being used in this ...
    Posted to Khurram Aziz (Weblog) by khurram on December 14, 2005
  • Running ASP.NET (v1.1) Portal Starter with SQL Express and ASP.NET v2 Development Server

    My younger brother has moved back after completing his graduate studies. He is in phase of deciding what-to-do-next. My son got pneumonia last week; we took him to our home town at grand parents place, they being doctors; are treating him; and this week he will be staying there with them. So; this week; we (me and my wife) are all alone ...
    Posted to Khurram Aziz (Weblog) by khurram on December 13, 2005
  • Characteristics of Good Portal Framework

    So what a good portal platform should provide you? Add new things and vote listed item on scale 0 (no need) to 10 (it will not be a portal platform if it does not have this) User Management System Security System Extendable Mobile Support Online help/documentation of portal platform[F] Community Support, Lots of controls/add-ons available ...
    Posted to Khurram Aziz (Weblog) by khurram on October 28, 2005
  • IBuySpy v2 :: Where Is It?

    Has anyone checked the ASP.NET v2 starter kits? All of them have poor architectures. I feel that they are promoting the 2 tier development model; the VB/SQL days…. I have checked Personal Web Site, Club Web Site and Time Tracker Starter Kits, and all of them smells same; couple of ASCX hosted in an ASPX page (master page) one or more controller ...
    Posted to Khurram Aziz (Weblog) by khurram on October 26, 2005
  • Cassini :: Rich Reporting Emails

    “Developer” has written a post on how useful Microsoft’s Cassini is. It’s a light weight engine to host ASP.NET applications; no need of IIS; embed ASP.NET application in your application transparently; or use it as a stand alone web server having .NET hosting features. Few months back; I implemented a cool application using it. Just wanted to ...
    Posted to Khurram Aziz (Weblog) by khurram on October 18, 2005
  • Credit Card Processing

    Situation is that I have to implement an ecommerce website based in Saudi Arabia with credit card processing facility. User should not go to some other site for transactoion i.e it must be done on our website. After a little googling I came to know that it can be done in two ways. 1) Website--> Gateways--> Processor--> Merchant ...
    Posted to Aziz ur Rahman (Weblog) by aziz on October 12, 2005
  • HttpException :: Unable to validate data

    If you are receiving HttpExceptions in your ASP.NET applications on postbacks; saying, Unable to validate data, you may try setting enableViewStateMac to true. You can do so at page level or for entire site in web.config. <configuration> <system.web>  <pages enableViewStateMac=''false'' ...
    Posted to Khurram Aziz (Weblog) by khurram on October 6, 2005
  • Classic approach :: Wrapping it up in a modern way

    One of my colleagues is working on a Payroll system. He is fresh graduate, and for him the web applications are how they are modeled in modern platforms like .NET   He was developing an interface for the “Manual attendance” in which the IN/OUT details of the employee is presented for the whole month, and any missing entry is entered before ...
    Posted to Khurram Aziz (Weblog) by khurram on August 25, 2005
  • Compression in Dot Net (Zip format).

    Like many of you out there, I have also used #ZipLib (pronounced as SharpZipLib) to do compression programmatically. For those who do not know about #ZipLib, it is an open source compression library for zip formats, written in C#. The code is available at their website. I was thinking that how it is possible that Microsoft did not ...
    Posted to Aziz ur Rahman (Weblog) by aziz on July 9, 2005
  • Ten tools in 10 minutes

    Just find this blog on weblogs.asp.net. Posting it here so that who missed it there get it from here .Scott Hanselman collection of useful tools.
    Posted to Aziz ur Rahman (Weblog) by aziz on June 11, 2005
  • Looking for ASP.NET v2 Hosters?

    Look no further, visit http://msdn.microsoft.com/asp.net/beta2/hosters to know who are providing ASP.NET v2 hosting. Crystal Tech is even providing free hosting. Though I yet have no updates about my free web hosting request :(
    Posted to Khurram Aziz (Weblog) by khurram on May 20, 2005
  • My First WebPart for Share Point

    Ahhhhhh. After seven hours of doing just one thing i am tired and frustated. Doing developemt on a virtual PC is a headache, so slow. My be I should upgrade my PC. I have started learning sharepoint nowadays and today I made my first web part. I tried to upload the web part following the same steps in the MSDN article but alas. As soon as i try ...
    Posted to Aziz ur Rahman (Weblog) by aziz on May 14, 2005
  • Use Apache and Microsoft.NET v1.1 to Host Asp.Net Applications

    Use Apache and Microsoft.NET v1.1 to host Asp.Net applications.   mod_aspdotnet Apache HTTP Server 2.0 Module mod_aspdotnet is an ASP.NET host interface to Microsoft's ASP.NET engine. It is implemented with an Apache.Web.dll assembly that provides ASP.NET with the necessary System.Web.Host and System.Web.Request interfaces to converse with ...
    Posted to Khurram Aziz (Weblog) by khurram on April 1, 2005
  • Phalanger

    Phalanger (http://www.php-compiler.net) the PHP Language Compiler for .NET Framework From http://channel9.msdn.com/ShowPost.aspx?PostID=48906   They even demonstrated PHPNuke; a very famous portal kit of PHP platform running with Phalanger.   I will definitely give it a shot as soon as I get some time. SquirrelMail may be J
    Posted to Khurram Aziz (Weblog) by khurram on March 18, 2005
  • Share Cookies between ASP and ASP.NET

    One can not share session data between ASP and ASP.NET so easily. There are some work-around available that you may google. However cookies can easily be share between ASP and ASP.NET. Here is a demo code for doing this.   Default.asp set a cookie and redirect to WebForm1.aspx WebForm1.aspx shows set cookies, update a certain cookie and ...
    Posted to Khurram Aziz (Weblog) by khurram on February 20, 2005
  • How to generate web forms in a good way?

    We, in our software house, use a custom build code generator (thanx to my friend Syed Umar Anis).  It generates stored procedures, and (some what intelligent) business classes using the database schema. I want to extend this generator and want it to generate web forms as well. I was thinking about some way so that i have to do minimal work ...
    Posted to Aziz ur Rahman (Weblog) by aziz on February 10, 2005
  • Hosting UserControls into Sharepoint

    I am big fan of ASP.NET UserControls. They not only provide a layer of abstraction but also are easy to develop. Everyone in the team picks them quite easily.   Hosting user controls into third party portal engines can be problematic, especially if the portal engines has many expectations/requirements. Original IBUYSPY/Portal Startet Kit ...
    Posted to Khurram Aziz (Weblog) by khurram on February 3, 2005
  • NAT :: SQL :: Sharepoint

    Last evening, I wanted to configure a box for multi-purpose. I am writing down the problems and their work-around that I faced J   Networking :: NAT   Network Address Translation (NAT) is useful to let people on private subnet to access the other subnets. It can be configured on Windows 2003 box easily. However if you have multiple ...
    Posted to Khurram Aziz (Weblog) by khurram on January 28, 2005
  • NUnitASP :: Unit Testing Web Based User Interfaces

    Testing is an important defect removal technique. Unit testing is the most affective regression testing technique. NUnit is the mostly used CASE tool people uses around. NUnit helps us unit test class libraries. The missing part had been non availability of similar tools for the user interface layers, especially web application due to its wide ...
    Posted to Khurram Aziz (Weblog) by khurram on January 27, 2005
  • DotNetNuke v3 Public Beta 1

    Knowledge management refers to the organizational disciplines, processes, and information technologies used to acquire, create, reveal, and deliver knowledge that allows an enterprise to accomplish its mission (achieve its strategic or business objectives). The components of knowledge management are the people, their operations (practices and ...
    Posted to Khurram Aziz (Weblog) by khurram on November 20, 2004
  • Http.sys &amp; Microsoft .NET v2

    HTTP has gained an industry wide recognition in past 10 years. Windows 2003 and Windows XP Service Pack 2 now feature HTTP.sys, a kernel level HTTP stack. You can use this to create server applications that use HTTP. Aaron Skonnard is explaining how to use it in Microsoft .NET 2.0
    Posted to Khurram Aziz (Weblog) by khurram on November 20, 2004
  • DotNetNuke 3

    DotNetNuke’s third version is around the corner. News is that it will be released by November 1st. DNN’s core team has added lots of goodies. Nina Meiers, DNN core team member has shared some insights at http://www.xd.com.au/Default.aspx?tabid=125   There is also an announcement on DotNetNuke site about 30 for 3 ...
    Posted to Khurram Aziz (Weblog) by khurram on October 27, 2004
  • Displaying Data in ASP.NET DataGrid Control

    This article and the my future articles of DataGrid series will show you some very nice tricks of DataGrid Control which I have used in my projects successfully, Tricks like, Sorting, Paging and Editing in the same DataGrid control, implementing mouse over effect on the DataGrid rows, and displaying custom messages in DataGrid cells based on the ...
    Posted to Waqas .NET (Weblog) by waqasdotnet on October 24, 2004
  • HTML Server Controls and Web Server Controls

    Similarities and Differences In ASP.NET, we have two different sets of controls which at first look almost identical to each other and always create some confusion especially for new developers. Here in this article I am trying to explain some of the similarities and differences between these two different types of controls. Experience ASP.NET ...
    Posted to Waqas .NET (Weblog) by waqasdotnet on October 24, 2004
  • Classic ASP to ASP.NET: Master Detail (Part II)

    This post is about the ASP.NET version of the page I mentioned earlier.   The problem in that approach was un-necessary database hit, consider if there are 10 dealers in particular area and each dealer has on average two phones and one email, then there were 1 + 10 + 10 = 21 database hits.   Now we can have multiple tables in single ...
    Posted to Khurram Aziz (Weblog) by khurram on October 11, 2004
  • Classic ASP to ASP.NET: Master Detail (Part I)

    While revisiting one of the classic ASP site, I found a dynamic web-page having the code whose pseudo code is given below, this page basically list the dealer list based on the selected city and area.   rsDealers = getDealers(request(“City”), request(“Area”)); do until rsDealers.eof       write ...
    Posted to Khurram Aziz (Weblog) by khurram on October 11, 2004
  • Protect your web-applications from ASP.NET vulnerability

    ASP.NET has a vulnerability exploiting which one can bypass the Asp.Net authentication features. To protect your site use the following code in your Global.asax.cs   void Application_BeginRequest(object source, EventArgs e) { if (   Request.Path.IndexOf('\\') >= 0 || System.IO.Path.GetFullPath(Request.PhysicalPath) ...
    Posted to Khurram Aziz (Weblog) by khurram on October 7, 2004
  • DotNetNuke: Inter-Module Communication

    In reply to my earlier DotNetNuke post, a visitor asked how the two modules can communicate with each other, especially if the other module is on the different tab.   Firstly, I will advise to always leave some contact/address where one can reply, you may use the URL option in the feedback, write your email, ping-back or web-log ...
    Posted to Khurram Aziz (Weblog) by khurram on September 23, 2004
  • Creating DotNetNuke Module

    Don’t know what’s DotNetNuke? Visit their site then J   1-     If required setup DotNetNuke a.      Unzip the installation, place it at some folder, give Everyone full access to this folder, and share this folder in your web-application as per ...
    Posted to Khurram Aziz (Weblog) by khurram on September 20, 2004
  • .Net v1.1 SP1 may break your Asp.Net application

    Service Pack 1 of Microsoft.Net v1.1 is out, and ISPs/Hosting Service providers have started updating their servers. Its been reported that if the server has the SP1, and the client upload the Asp.Net web-application with the aspnet_client folder —that contains the Java scripts for UI Validations— of original version (v1.1), then such ...
    Posted to Khurram Aziz (Weblog) by khurram on September 18, 2004
  • App.Path equivalent in .NET

    Looking for VB6’s App.Path equivalent in .NET? Here is what you need to do:         static public string ApplicationPath       {          get          ...
    Posted to Khurram Aziz (Weblog) by khurram on August 31, 2004
  • Asp.Net vs PHP

    OTN, Oracle Technology Network, has published an article in which author has tried to prove that using PHP with Oracle on Linux is better in terms of cost, performance and productivity as compare to Asp.Net. Bertrand Le Roy, from Microsoft camp, replies in his “personal” weblog here. Both of these posts are fun to read J By the ...
    Posted to Khurram Aziz (Weblog) by khurram on July 24, 2004
  • Passing Parameters to Stored Procedures

    Reports that use stored procedures as their data source are no different than reports that use any other data source. When you open the report, it automatically calls the stored procedure, retrieves the data, and populates the report with this data. The difference between using a stored procedure and using a table is that stored procedures accept ...
    Posted to Aziz ur Rahman (Weblog) by aziz on July 21, 2004
  • Changing Sql Connection dynamically in Crystal Reports 10 using DotNet

    Dim myReport As New crDB()myReport.SetDatabaseLogon(Me.txtUserId.Text, Me.txtPass.Text, Me.txtServer.Text, Me.txtDB.Text)Dim myLogonInfo As CrystalDecisions.Shared.TableLogOnInfoDim myTable As CrystalDecisions.CrystalReports.Engine.TableFor Each myTable In myReport.Database.Tables   myLogonInfo = myTable.LogOnInfo   With ...
    Posted to Aziz ur Rahman (Weblog) by aziz on July 20, 2004
  • Java script using in User Control

    Dear All, Let me give you an example to explain the usage of javascript in user controls. Let us suppose that u have a usercontrol in which there are 2 textboxes named txt1 and txt2 and a button called btn1 and u want to add some custom checking when the button is clicked. Make the usercontrol. Put it in a page and see the page in IE. View the ...
    Posted to Aziz ur Rahman (Weblog) by aziz on July 14, 2004
  • Dropdown control overlapping other controls.

    The behavior of dropdown i.e.overlapping other control was always a poblem for me until i found article. It occurs because the dropdownlists in IE are Windows-rendered controls, not browser-rendered controls. Effectively, all browser-rendered controls go on one layer, and the Windows-rendered controls go on their own, higher layer. Read this ...
    Posted to Aziz ur Rahman (Weblog) by aziz on July 13, 2004
Powered by Community Server (Personal Edition), by Telligent Systems