|
by: huzz |
last post by:
I have a TextBox field as shown below
<asp:TextBox id="txtIssueTo" runat="server" OnTextChanged="UserExist"
AutoPostBack="true" Text="UserName"></asp:TextBox>
The UserExist method takes the txtIssueTo value and checks if the user exist
in the database.... in the UserExist method i keep getting this error message:
Object reference not set to an instance of an object.
string strUserName = txtIssueTo.Text;
|
by: Miguel Dias Moura |
last post by:
Hello,
I have a Drop Down List with 3 options. I want to redirect to a new page
when an options is selected. I don't want to use a button. The redirection
should be fired when the option is selected.
I have an ASP.net / VB page with a Drop Down List named "my select" as
follows:
<asp:DropDownList AutoPostBack="true" ID="myselect" runat="server">
|
by: kbrandl |
last post by:
On my page, there is a textbox at the top that contains a date -- and a
fully-editable datagrid below (each row in the datagrid contains an
editable textbox, along with some other controls).
The date textbox is defined as:
<asp:TextBox EnableViewState="True" ID="HoursWorkedDate_TextBox"
Runat="server" width="80px" CssClass="inputstyle"
onBlur='javascript:Search.submit();' OnTextChanged="Date_Changed" />
|
by: Alex Nitulescu |
last post by:
Hi.
I have created a web-based file manager. Now I'd like to watch a folder for
changes, and when a change occurs I'd like to refresh my page.
Okay. So I have created a FileSystemWatcher set on the folder I need to
watch. It works fine. The problem occurs when I need to trigger an automatic
Refresh.
So I added two handlers - OnChanged and OnRename, in the same class as my
filemanager.
|
by: Chris |
last post by:
I think I already know the answer to this but here goes. I've read the other
postings but no solutions for this.
If a user enters a textbox, there is no 'onenter', etc. to control firing
off a sub, etc. We have OnTextChanged. But it doesn't fire until focus is
placed somewhere else.
The issue is that on my form if a user changes a textbox but goes to 'Save'
the form, the 'Save' button gets the focus and fires event OnTextChanged but
stops...
|
|
by: MattB |
last post by:
Hi. I'm working on an intranet application that requires a user to input
information about themselves. I have a user control with a couple of
textboxes that I want the user to enter their weight into. One is for
Lbs and one is for kg and I'm using the OnTextChanged event to populate
the other control if one is filled in (converting between kg and Lbs).
It works, but when one TextBox is changed and it sets the other's value,
the second...
|
by: RajS |
last post by:
Hi All,
I am trying to update datagrid, onTextchanged event, I dont know how to do
this. please shed some light or any examples.
Here is the code I am wrestling with. OnTextChanged event of Textbox1 I want
to pass price and ID to this event, how can I pass?
//DataGrid html code
<asp:TextBox id="Textbox1" Text='<%#
|
by: Hans |
last post by:
Hello,
I have the following textbox:
<asp:textbox id="txt_equipo" runat="server" AutoPostBack="true"
OnTextChanged="nombre_equipo" />
So when I write the code on the textbox it will automatically fill the
other fields like "name", "serial #", etc. It works, but when I use
the AutoComplete feature (when i enter a code for 2nd time) it
doesn't.
|
by: RobertTheProgrammer |
last post by:
Help!
I have an ASP textbox where the OnTextChanged event is not firing. Here's the call:
<asp:TextBox ID="ApproverCopy" runat="server" CssClass="noShow" OnTextChanged="StoreNewTrainings" AutoPostBack="True"></asp:TextBox></TD>
The event fires if I enter the value manually, but not when I do it programmatically in the code behind.
Please help.
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|