|
by: Jason M |
last post by:
Hi,
Im very new to c#, so forgive me if this is a really stupid question.
Im trying to create a form for entering purchase requests.
For each line item I have a quantity, a description unit cost and total cost.. all textboxes.
Next to this I have a button that will add a new set of textboxes so people can have more than one line item.
As it is now, when you push the button the textboxes appear, and everything below them is moved down...
|
by: Alpha |
last post by:
Hi Friends,
I am setting EnableViewState property of page
and 2 textbox to false but still its retaining the
values. After refreshing the page..it is submitting the
value in 2 textboxes even the Text property is assigned
to blank.I want after refreshing the page the 2 textboxes
should not retain the previously entered value.Because
after submitting I am taking value from textboxes and
showing into table below these textboxes...so after...
|
by: kai |
last post by:
Hi, All
I create an ASP.NET page, it contains FirstName textbox and LastName
textbox. I setup "enableViewState=false" in page directive. When I enter
data in FirstName and LastName textbox, after I refresh the page or go to
different page and come back to the same page, I find data entered in
FirstName and LastName textbox are still there.
I think after setup "enableViewState=false" , we are not suppose to see data
in the textbox...
|
by: Chris |
last post by:
I've created two textboxes and one button on my web form. I then set the
EnableViewState property of Textbox1 to False. Textbox2 is set to True.
The button has no code in it - It simply has an auto post back which reloads
the page.
I run the web application and type "test 1" into Textbox1 and "test 2" into
Textbox2. I click the button and the page reloads. Textbox1 has the value
of "test 1". Textbox2 has the value of "test 2".
Am...
|
by: AFN |
last post by:
I have a server-side table,
<asp:table id="tblData" EnableViewState="true" runat="server" />
and my code-behind adds rows of data to the table in code that says:
if not page.ispostback then
LoadDataTable()
end if
|
|
by: AC |
last post by:
Hello, All
Is it possible to set enableViewState='true' for single control on a page
with enableViewState='false'. In particular I am interested in DropDownList,
but neither using IDE to set controls attribute nor <asp:dropdownlist
EnableViewState="True" ...> seems to work.
What is wrong here? Any reference for a good description of enableViewState
use cases will be great.
|
by: Calvin KD |
last post by:
Hi everyone,
I have a datagrid to display search results. The search results at this
stage we only return the first 500 records to speed up the search. The
problem is, if I turn the EnableViewState on, the search regularly failed
with a message that says tempdb is full... It does not however happens all
the time. I have tried to turn the EnableViewState off, that seems to do the
trick but causes another problem, the datagrid's paging does...
|
by: JohnZing |
last post by:
I Have EnableViewState="false" in the top of my page has you can see
below
<%@ Page Language="VB" EnableViewState="false"
MasterPageFile="~/MasterPage.master" AutoEventWireup="false......
I have the EnableViewState="False" in the control tag
<asp:TextBox id="txtMsg" runat="server" MaxLength="300" Rows="4"
Columns="60" TextMode="MultiLine"
|
by: teo |
last post by:
I have a Listbox,
if I set
EnableViewStarte = False
the
AutopostaBack fired by SelectedIndexChanged
doesn't work.
The 'SelectedIndexChanged' event should call
|
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: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
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: 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: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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: 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...
|