Forms Data Controls :: Create A Gridview For Product Comparision?
Feb 14, 2011Create a gridview for Product Comparision?
View 4 RepliesCreate a gridview for Product Comparision?
View 4 RepliesI m working in vs 2005 project(Built before 2 years with deklarit and Infragistics) and not using Ajax Update panel instead I m using Ajaxprodll throughout the project and I cannot use the update panel as it requires the huge changes in web.config file and I dont want to play with config file so I keep using Ajax pro dll.On my page there is a tab control in which there are 4 tabs.Each tab contain gridview and each gridview has same number of column.Firsttab is Daily has daily girdiew,Second Tab is Weekly and has a weekly gridview,Third Tab is Fortinght and has fortnight gridview ,4th is Monthly and has monthly gridview.
First two coumn named as Start Date,End Date in all gridviewMy Q1: If user enters the start date, end date should be greater than start date,at the same time the data (period) entered in first row sholud not be repeatedfor second row or third row or any row in the gridview.It is applicable for all gridview .How should I achieve it?My Q2(Logic????): When user enter the start date and end datein first gridview(Daily) that period should not be allowed to enter in the second gridview(Weekly)or third gridview (Fortnight) or Fourth gridview (Monthly) and Similarily if I enter the period for weekly then it should not be repeated in any other gird and soo.on.My Q3:How should I add row at runtime in gridview without postback? My Q4: What should I do to get Dataformat inside the gridview
i am using asp.net webform not asp.net MVC.
i want to make my webforms as single page application
ex: i have a webform for products and the correspoding Product Links
if i click on any products the related details of that product has to be dispaly in the same webform .
i dont want to goto another webfom and dispaly the details of the product.
Tell me some major points which differentiate Datagridview to Gridview in asp.net?
View 4 RepliesDoes anyone have performance comparision between asp.net and infragistics controls? Not only for complex controls. I need to compare all available controls.Note: The reason I am posting this here instead of infragistics is :)
View 1 RepliesI work with asp.net , VB script (web developer 2008)
I need to build page for x product (every user have number of product) and every line i show the product picture + name + listBox the show to the user how much packege he want to buy (0-10)
the button run to see what product the user order (>0 packedges)
how to show at every line(Row) the ListBox , and how to find the product that the user wants
When a Product is deleted, I am simply displaying a message to User like "Are U sure ....". I am doing it like:
<asp:TemplateField HeaderText="Delete">
<ItemStyle Width="5%" HorizontalAlign="Center" />
<ItemTemplate>
<asp:ImageButton runat="server" CommandArgument='<%#Eval("Gallery_ID")%>' BorderStyle="None"
ID="BtnDel" ImageUrl="../Images/icon-delete.gif" CssClass="imgbutton" CommandName="DeleteRow"
CausesValidation="False"></asp:ImageButton>
</ItemTemplate>
</asp:TemplateField>
protected void GvGallery_RowCreated(object sender, GridViewRowEventArgs e)
{
ImageButton btnDelete = (ImageButton)e.Row.FindControl("BtnDel");
if (btnDelete != null)
btnDelete.Attributes.Add("onclick", "return check();");
}
<script language="javascript">
function check()
{
if(confirm("Are you sure u want to delete this Gallery? Once deleted it cannot be retrieved.")==true)
return true;
else
return false;
}
</script>
But Now, my requirement is that I want to display "Product Name" with in the message like "Are U sure U want to delete <Product Name>". How can this be done??
adding a product from my datalist. The code to add a new product works on the page where you can check out the product a little closer, but not in this "overview" of all products. When I hit the buy button, I get this error(translated
from swedish): "The sequence don't contain any elements"
im using listview to display my products and also use pager and count 10 item per page. my problem is, when i click one of the products to see big image and info about the product (in new page) i have some back button to return to the products page its return to number 1 even if i select product from pager 8, how can i return to the page were the last product was (like: 8 or 14) and not to the first pager?
View 2 RepliesI would like to make something like the following table in an ASP.NET page which would be used to select products to purchase...
Item #
Product
Qty
Price
Tax
Extended Price
1
Some product
2
$10.00
$1.40
$11.40
A new row could be added to the grid by selecting an item in a combo box/dropdown in the Product column which would be populated from a DB query.
The only columns that could be manually edited would be the product dropdown, and the qty column (could be dropdown or textbox). I think there would need to be an add button once the product and qty columns were populated. Does anybody have any pointers on the best place for me to start here?
My site is currently ASP.NET 4.0 and I am using TabContainers and the CalendarExtender from the AJAX Controol Toolkit project. So a solution using parts of that project would be perfectly acceptable.
I`m making an online order project.Clients can chose products of some categories and than they can order it.
I have a database with tables: Clients,Products,Categories,Orders,A table that connects orders with products,etc etc.Now if a client cliks in category (for excample motherboard) than all kinds of motherboard will show in aspx page.
I want to ask you how to do this:how to take products i want from database and put them into an aspx page and after that clients need to click in one product and then order it.
i have a first page and user selecting some products. Passind with session. Retrieving from first page. And in this point i want to connecting my northwind db and display selected products detail side by side in my second page. (listview or datalist) here is my second page codebehind.
[Code]....
I have a datalist
[Code]....
When click on Ad to cart I want to get selected product detailshere is my code
[Code]....
but this is allways showing me the last record.say I have 5 products displayed on datalist.its showing me the last product details.
I have a gridview displaying the items in the shoping cart. I want the customer to be able to change the size of the item he or she has chosen to buy. I have therefore added a dropdownlist inside the edititemtemplate. I would like to display all sizes that are available in the database in the dropdownlist, but don't know what the sql-statement would look like.
The database looks something like this:
Item
PK: ItemID
ItemAttribute
PK: ItemAttributeID
FK: ItemID
:AttributeName (Size, color etc)
AttributeValue
PK: AttributeValueID
FK: ItemAttributeID
:AttributeDescription (Small, Large etc)
ShopingCart
PK:ShopingCartID
FK:ItemID
FK:UserID
:ItemSize
The dropdownlist looks like this:
[Code]....
The problem is it's display all the other item's attributes and not what kind of attributes that is left, for example Medium, Large, X-Large. how to implement the sizes into a dropdownlist and the sql-statement looked like this:
[Code]....
I'm writing new section to a website and am looking to use a UI similar to the MSDN Download page with the Product Details and Keys in an accordian like section. Haven't been able to find a description of how this is done as of yet - still looking though but figured I'd ask if there is an available control or a description of that control instead of reinventing it.
View 1 Repliesi build some shopping cart. I have Datalist that display products from SQL table (id, productName, productPrice) and "Add" button. After the user click the button the product appear in the GridView (im using Session DataTable) until now all fine and work greate! in every product i need to add 2 checkboxlist from SQL tables (its some extra to the product). How can i get the items the user was checked and put them with the product name in the same datatable coloumn? the aspx code:
[Code]....
this is the code behaind:
[Code]....
how should i write selected product ids from grid view to database with customer id. how to associate customer id with job ids selected from grid control.how should i store which customer selected which product after login
View 1 Replieshow to display recent viewed product in gridview / listview,first one if any user click on any one product on listed all product then and redirect new page where user can view full details of single product ,its going fine but when user back to home then i want to show recent viewed product , recent view product should not save in db ,just save in temporary datatabee and view in gridview , if user see 10 product then it save in temporary datatable and bind into gridview all 10 product.
View 1 RepliesI want to create a 3x3 Gridview. How do I do it?
View 3 RepliesIs there any web service which will return the prouct name by accepting the product barcode input?
View 2 RepliesI have data in my database and I want one column of the database to be shown as a ckeckbox so the user can select and deselect it.
The colums in my database is called "sendEmail", The values are stored as a "int" with values of 1 and 0. How do I show the value of 1 as checked and the value of 0 as unchecked in a gridview.
is it possible ontextchange event create new row in asp.net c#.if it is possible plz let me know
View 5 Replies"Whether it is possible to create a spread sheet like GridView"
If so what could be the approach to create Such an Editable and Customizable Grid...
I have a grid like below. Here I am getting problem with "Hours Last 52 Weeks". Here I have to use this text over the grid headers like the below screen. How can I use this? Highlighted in "Yellow" is the actual text.
View 2 RepliesI have created an array ot GridView.
[Code]....
But system throw error: Object reference not set to an instance of an object.