The problem is you have a list that you want to retrieve from that contains multiple values. Say for example, you have a list of 5 cities and you want to retrieve a list of people in some combination of those cities. If you use the class SelectValue method with GridView you run out of steam because it’s only one value. What you’d really like to do is pass the CheckBoxList into the GridView as a selection parameter, but unfortunately, when you do that, you just get the one selected value from the CheckBoxList, not all the values.
I’m sure you can make a custom ControlParameter in ObjectDataSource to solve this, but I really don’t have time for that. I just wanted something quick (which I now have and thought I’d share).
Basically, what I did was create an invisible label on my GridView that will get the string of values I want to retrieve, then, my ObjectDataSource gets one value (the string) and parses it into small values. My plan is to do a quick run through of the code here, but then also post the project so you can see for yourself how it works.
Read MOre..
Showing posts with label Asp.net Gridview. Show all posts
Showing posts with label Asp.net Gridview. Show all posts
Tuesday, December 9, 2008
Tuesday, November 4, 2008
Web Based File Manager in ASP.NET 3.5
FileVista is a web based file management solution developed with ASP.NET technology. Basically, it will turn your standard browser into "Windows Explorer" like user interface and allow managing files
FileVista is a web based file management solution developed with ASP.NET technology. Basically, it will turn your standard browser into "Windows Explorer" like user interface and allow managing files on your web server on the fly. Its a complete replacement of traditional FTP, allowing you to manage files on your web server just with a web browser instead of a FTP client that you would have to install on the client computer first. It also provides extended features which are impossible with FTP such as zipping and unzipping files on the fly.
Key features:
- Multi-User infrastructure, every user can have different permissions and quota limits on folders.
- Administration page to manage users/groups/root folders on the fly.
- Upload upto 2GB of files with progress bar! Minimal use of server resources with upload/download.
- Zip/Unzip files !
- Cross browser, works with most modern browsers. Tested with Internet Explorer, Firefox and Safari.
- Ability to log events (audit trail). The following events are logged for each user: Login, Logout, Failure, Browse, Create, Delete, Rename, Copy, Move, Compress, Extract, Upload and Download
- Fast response: communicates with the server via XML, no reloading of the pages
- Stunning user interface rendering, extending the limits of a web application.
- Easy and fast folder navigation with tree view.
- Fast file listing, client-side sorting on the fly.
- Context menus for a neat and simple user interface.
Read More & download
FileVista is a web based file management solution developed with ASP.NET technology. Basically, it will turn your standard browser into "Windows Explorer" like user interface and allow managing files on your web server on the fly. Its a complete replacement of traditional FTP, allowing you to manage files on your web server just with a web browser instead of a FTP client that you would have to install on the client computer first. It also provides extended features which are impossible with FTP such as zipping and unzipping files on the fly.
Key features:
- Multi-User infrastructure, every user can have different permissions and quota limits on folders.
- Administration page to manage users/groups/root folders on the fly.
- Upload upto 2GB of files with progress bar! Minimal use of server resources with upload/download.
- Zip/Unzip files !
- Cross browser, works with most modern browsers. Tested with Internet Explorer, Firefox and Safari.
- Ability to log events (audit trail). The following events are logged for each user: Login, Logout, Failure, Browse, Create, Delete, Rename, Copy, Move, Compress, Extract, Upload and Download
- Fast response: communicates with the server via XML, no reloading of the pages
- Stunning user interface rendering, extending the limits of a web application.
- Easy and fast folder navigation with tree view.
- Fast file listing, client-side sorting on the fly.
- Context menus for a neat and simple user interface.
Read More & download
Sunday, November 2, 2008
GridView Control
In MySQL, you would need to supply the LIMIT keyword in order to get a specific set of rows. With GridView’s paging feature enabled, everything is done for you. Neat huh. Took me like a day in getting this one to work though because I had problems with the update and delete function. Since I am using MySQL, turns out when you do parameters in your query commands, the @ sign does not work because it is only for MS SQL. You would have to change the @ to ?.
Read More..
Read More..
Introducing the "DotNetNuke" Web Application Framework
Web Application Framework is a robust software library used as the basis for building advanced Web applications. A Web Application Framework typically contains a well-defined architecture and an abstract set of reusable components that are specifically designed to simplify development, enforce consistency, increase productivity, and improve application quality. Typical features include modular architecture, membership management, security and role management, site organization and navigation, error and event logging, data access and caching, search and syndication, and extensibility at every level. Frameworks are used in corporations, public sector, private sector, small businesses, nonprofit organizations, and even individual Web sites.
Although the concept has always been relevant, Web Application Frameworks have just come back into favor in recent years. This is likely a result of the ever-pervasive basic business philosophy emphasizing a reduction in the Total Cost of Ownership and increase in the Return On Investment. Web Application Frameworks can provide big wins in both of these categories because they allow developers to focus on the high-level business processes while leveraging a rock-solid application foundation.
DotNetNuke is a Web Application Framework that provides a highly extensible development environment, based on published standards and proven design patterns. Since Web Application Frameworks are generic by nature, they can be used as the underpinnings for any number of powerful Web applications. From Community Portals to high volume E-Commerce shopping malls, from Content Management Systems (CMS) to Customer Relationship Management Systems (CRM), the DotNetNuke Web Application Framework provides the fundamental services to build highly functional and scalable Web applications. To back up this claim, the DotNetNuke Web Application Framework is distributed as part of a fully functional CMS - the DotNetNuke Enterprise Portal.
Introducing DotNetNuke
Necessity is the mother of invention. In classic open source fashion, I originally created the application because I was interested in a way to provide functional Web sites to amateur sports organizations and could not find a suitable proprietary alternative. After investing significant effort only to discover that my business goals were not going to be realized, I decided to release the application as an open source community project. Version 1.0 of DotNetNuke was released December 24, 2002 (Christmas Eve). Since then, DotNetNuke has evolved at an exponential rate, recently surpassing 200,000 registered users, 800,000 downloads, and maintaining a consistent weekly project activity rank of #15 on SourceForge.Net.
Read More..
Although the concept has always been relevant, Web Application Frameworks have just come back into favor in recent years. This is likely a result of the ever-pervasive basic business philosophy emphasizing a reduction in the Total Cost of Ownership and increase in the Return On Investment. Web Application Frameworks can provide big wins in both of these categories because they allow developers to focus on the high-level business processes while leveraging a rock-solid application foundation.
DotNetNuke is a Web Application Framework that provides a highly extensible development environment, based on published standards and proven design patterns. Since Web Application Frameworks are generic by nature, they can be used as the underpinnings for any number of powerful Web applications. From Community Portals to high volume E-Commerce shopping malls, from Content Management Systems (CMS) to Customer Relationship Management Systems (CRM), the DotNetNuke Web Application Framework provides the fundamental services to build highly functional and scalable Web applications. To back up this claim, the DotNetNuke Web Application Framework is distributed as part of a fully functional CMS - the DotNetNuke Enterprise Portal.
Introducing DotNetNuke
Necessity is the mother of invention. In classic open source fashion, I originally created the application because I was interested in a way to provide functional Web sites to amateur sports organizations and could not find a suitable proprietary alternative. After investing significant effort only to discover that my business goals were not going to be realized, I decided to release the application as an open source community project. Version 1.0 of DotNetNuke was released December 24, 2002 (Christmas Eve). Since then, DotNetNuke has evolved at an exponential rate, recently surpassing 200,000 registered users, 800,000 downloads, and maintaining a consistent weekly project activity rank of #15 on SourceForge.Net.
Read More..
Monday, October 20, 2008
Web Frameworks, MVC, and ASP.NET
After nearly a year as a community tech preview, Microsoft has released the first true beta of the ASP.NET MVC framework. ASP.NET MVC is a radical departure from the WebForms technology has promoted in the past, and in the opinion of many, a return to mainstream web programming. The MVC pattern provides the cornerstone for web frameworks such as Ruby on Rails and Java's Spring Framework.
MVC web frameworks should not be confused with their namesake, the Model-View-Controller pattern first proposed by Trygve Reenskaug. Under Reenskaug's pattern, the view and controller were tightly bound to one another with a one-to-one mapping between each view and controller. With a MVC web framework, the view and controller are loosely coupled and it is not unheard of for multiple views to be tied to a single controller.
Regardless of which definition of MVC you prefer, the model remains an independent representation of data that has no knowledge of what is using it. This is in contrast to WebForms, where it is common for data to be stored in the UI elements themselves in the form of viewstate. Read More...
MVC web frameworks should not be confused with their namesake, the Model-View-Controller pattern first proposed by Trygve Reenskaug. Under Reenskaug's pattern, the view and controller were tightly bound to one another with a one-to-one mapping between each view and controller. With a MVC web framework, the view and controller are loosely coupled and it is not unheard of for multiple views to be tied to a single controller.
Regardless of which definition of MVC you prefer, the model remains an independent representation of data that has no knowledge of what is using it. This is in contrast to WebForms, where it is common for data to be stored in the UI elements themselves in the form of viewstate. Read More...
Labels:
Asp.net,
Asp.net Gridview,
asp.net programming,
MVC,
programming,
web frameworks
Tuesday, October 14, 2008
7 ways to do Performance Optimization of an ASP.NET 3.5 Web 2.0 portal
Web 2.0 applications are widely developed. These applications often work with third party contents, aggregate them make various use of them and then make something useful and meaningful to the users. For the past few years, developers were also engaged with such endeavors and a lot of their websites have not addressed performance issues, thus resulting in an unpleasant experience to the users.
Performance is a vast area and great results can never be achieved by a silver bullet. This article explores some of the key performance issues that can occur while developing a Web 2.0 portal using server side multitasking and caching. It also demonstrates model driven application development using Windows Work flow Foundation.
Read more...
Performance is a vast area and great results can never be achieved by a silver bullet. This article explores some of the key performance issues that can occur while developing a Web 2.0 portal using server side multitasking and caching. It also demonstrates model driven application development using Windows Work flow Foundation.
Read more...
GridView DropDownList Update SelectedValue All At Once
1.ASP.Net GridView DropDownList DataSource and DataBinding
2.ASP.Net 2.0 AJAX Update Progress Control
3.Gridview DropDownList SelectedValue in ASP.Net
4.ASP.Net C# GridView FindControl Checkbox
5.ASP.Net GridView Checkbox Javascript Validation
Read more..
2.ASP.Net 2.0 AJAX Update Progress Control
3.Gridview DropDownList SelectedValue in ASP.Net
4.ASP.Net C# GridView FindControl Checkbox
5.ASP.Net GridView Checkbox Javascript Validation
Read more..
Subscribe to:
Posts (Atom)