Reputation: 45
Previously i was working on Windows Form based application in .Net. Now i am developing the same app in ASP.Net.
The issue is, in WinForms, i had functionality which is like this:-
ListView was present in the MainForm. When a user clicks on that ListView, another form was going to pop-up, which is also a WinForm. (For this form i was sending a Bill Object as reference)
In the pop-up form, the user will select a particular Billable Item and click on a button called "Add".(This Billable Item is going to be saved in Bill Object)
When this button is clicked, an event is fired in the MainForm. This event was going to add the Billable Item (the one which user has selected in the pop-up Form) into the ListView using the 'Bill Object', without even closing the pop-up form.
This procedure will continue until the user manually closes the pop-up Form.
My issue is, i do not know how to realize this or make this work in Web Application using ASP.Net with vb in code behind. I am using Content Page.
I know i can use GridView in asp.net, just like ListView in WinForm.
Please give your valuable suggestions.
Thank You, Mayur
Upvotes: 0
Views: 4312
Reputation: 4456
ASP.net
was designed to be familiar to WinForms
developers which is why you have many of the same control names. In actuality, this is often a hindrance as there are significant differences between many ASP.net
webcontrols and their WinForms
counterparts.
In addition the page lifecycle
that is at the heart of ASP.net
webforms is a very different model to what you would be used to with WinForms
.
I suggest starting with the official ASP.net
learning resources. They're a great introduction to the two main ASP.net approaches:
Upvotes: 1