how to call controls of web control form in coding of other forms?
hello everyone i have one problem i have created one webcontrol shoppingcart in which there are two labels one of qty and other of amt which are initially enable =falsenow on other page(aspx page) i have one txtbox of qty as txtqty i want tat as soon as user enters qty txtqty and clicks on add cart button it shd be display d value in lblqty of web control shopping cart make sure i m using datalist on aspx page so give me suggestions on tat basis and my coding is in vb. plz give ur suggestions as fast as possible. Neeti
what do you mean by webcontrol.... it this user control or normal ...non .net form issue within a .net form tag
this may be a bad question...
but I am adding a shopping cart to my asp.net website and it calls for the following code for the 'buy now' buttons:
<form method="POST" action=http://www.cart.net/cart.aspx/CartName><input type="hidden" name="ID" value="IDName"><input type="hidden" name="Describe" value="IDName Description"><input type="hidden" name="Price" value="100.00"><input type="hidden" name="QtyMax" value="1"><input t...Implementing .Net Form into an APS.net web form, can this be done
I am new here, but have been searching for a while, and may not have the correct lingo to find what I am looking for.
I am tasked with implementing a .exe application that was writen vb6 then converted to .net into a new website my team is developing. The idea is to put each of the 3 different forms in this .exe application of 3 different .aspx pages. I have attempted multiple things to get this into the page and even started to just rewrite it as an ASP.net web form, but even then I can't reuse any of the code since the System.Web.UI.Page doesn't inherit the sa...control on normal form and Content form
MyControl MyObj = (MyControl)this.FindControl("myCtrl1");
When i use this line on normal form that has myCtrl1 it works perfectly
But when i use it on a Content form this line does not work !!! although i copied everything from the normal form but still does not work
I've posted a scenario similar to yours.
Have you look hereL http://forums.asp.net/p/1130228/1791290.aspx#1791290
Please let me know if this is not working for you.DC517Don't forget to click "Mark as Answer" on the post that helped you. This credits tha...Form.ActiveControl Shows Controls From Other Forms
Using D2010, I went to set the ActiveControl of a form. I was suprised
to see in the drop down list -- all the controls from itself, plus the
other forms that it could see (units listed in implementation uses clause).
Is this "feature" intentional to allow other forms to be docked, or is
it a bug?
...Solution for web forms that look just like paper forms ? User controls ? Adobe fillable forms ?
I am looking at ways to web-enable a series of company forms that need to have the form itself look just like the paper version. It would be great if I could use an image of the form itself as a background, and then draw the UI components on top of this. Then there is the question of printing these forms complete with the data that was filled in. What are some options for doing this kind of application ? Im open to 3rd party solutions as well. Our company currently has a desktop application which does this, but I want to come up with a web based solu...using a .Net Control as activex control in VCL form
We have a to integrate a simple .Dot CSharp control which needs to be integrated into bcb2010 VCL form as a control. We will place the control on the VCL form along with other VCL controls's.
I tried creating a simple .net control using a lable+textbox and trying to use in vcl form. I have made the assembly comvisible and generated tlb files and .bpl for the component. I could see the component in "ActiveX" tool palette. But when I drag the object onto VCL form and try to access its attributes I run into problems. I am not able to see .net control on the vcl at runti...add window form control on web form
i want to add windows from control link label on web from .what should i do?
saurabhiP:i want to add windows from control link label on web from . Windows form controls are for windows application and should not be used on web forms.You want a link label which is the same as a hyperlink in ASP.NET so use that instead.
saurabhiP:i want to add windows from control link label on web from .what should i do? Hi saurabhiP,Base on my understanding, you want to use windows control to web form.
But base on my experience, there are many issues!
Check the following l...Access forms vs vb.net forms
I have to do an windows application for an access database, which currently had access forms. I am trying to convince doing it in vb.net. I know I can do much better froms or front end with VB.net. I am not sure how to convince my boss or client.
If you want info on Windows Applications try www.windowsforms.net.
Here's how to convince them, if they are tight about money:
vb.net = Only need one license, for you the programmer, which you may already have
access = need an access license for every person that uses the program (shush, don't tell them about access runtime)
I...Altering a GDI image on a form through controls on that form.
I hope I can make it clear what I am trying to do:
1) I have written a class called clsLineGraph.vb. The class works as I want it to so that's not the problem.
2) I have a form called linegraph.aspx(.vb) that creates an instance of the linegraph class in the Page_Load method. Also included in the page load method are calls to the methods within the clsLineGraph class that are associated with my clsLineGraph object.
I can pass data through linegraph.aspx(.vb) to the class without any problems. Also in the Page_Load method are the following:
Response.ContentType = "image/jp...Help to hide form controls in Form View
Ok I am sure this is a basic question, hopefully you can help me...
Here is the scenario: Using master content pages I have a form in a content page that submits data to a database which all works just fine, but I want to customize the form for the user depending on the options they make.
The first control is a dropdownbox and I want to hide certain text fields depending on the selection they make. How do I reference the controls inside the formview. Normally I would just use CSS and set the visibility or display to none but when I try to reference the control by ID i...form action when dynamically create form control
When I use <asp:literal> in my form and render it as a iframe during runtime,everything is fine except it always automatically add action attribute to the form and set the attribute's value to the iframe src attribute.How can I remove(avoid) this action attribute being generate because it causes some weird problem.Thanks
Can you post a code sample of what's going on? I'm not following where the action attribute comes into play here. Thanks.--Brian DesmondWindows Server MVP - Directory Serviceshttp://www.briandesmond.com
In the pageload,I have the following code:...windows forms in vb .net into web forms
we are creating a database driven website as part of our project. currently we have forms connecting to the database created in visual basic. these windows forms we need to convert into web forms which are asp .net compatible. can u give me an answer or show me a way.
because of the difference in nature between web and win applications you'll need to reimplement at least the UI part. If you have a multitiered application in which the busines logic and data access are in different parts/assemblies you can reuse them.
Grz, Kris.Read my blog. Handy Firefox plugins for web developers.Wor...Insert form without using form control
Hi I would like to build a form without using a form control ie, formview, gridview, detailsview. With the following code I don't get an error message but when I hit the form button the record doesn't get inserted into my table. Is there code that I have to add to my code behind maybe on the button click event that I have to add to insert the record?
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="InsertForm.aspx.cs" Inherits="InsertForm" %><html xmlns="http://www.w3.org/1999/xhtml" ...