|
by: William F. Robertson, Jr. |
last post by:
I have a control called UniqueTextBox, that implements the
IPostBackDataHandler.
I have trying to use the control in a composite control called
UniqueTextBoxEx.
The LoadPostData method of the UniqueTextBox is never getting called.
What do I have to do to have child controls process their own postdata?
|
by: John Burke |
last post by:
I am getting a curious problem where LoadPostData is not being called after
registering the control using RegisterRequiresPostback. Other controls not
requiring postback registration are having LoadPostData called. Each
control calling RegisterRequiresPostback does have a uniqueid and exists for
the lifetime of the page, so it's not a mis-referencing problem.
It's worth noting that this was working fine until I killed the Viewstate
and...
|
by: Sam |
last post by:
I have a custom control (MyTextBox - taken from Microsoft website)
that implements the IPostBackDataHandler interface. It is added to
the controls collection of a placeholder control during the Page Load
of a main ASPX page. Now if we debug the MyTextBox, we find the order
of events like so (during a Posback, of course): OnInit -> OnLoad ->
LoadPostData.
My question is why does the LoadPostData occur *after* the OnLoad
instead of...
|
by: Andrew Robinson |
last post by:
I have a page that contains a number of link buttons that are used for
making selections. I load my LinkButtons during the Page_PreInit event and
they render fine but then I need to make a change to one of these
LinkButtons depending on the selection.
I am using the Command Event and passing a key in the Command.Name field.
From within this even handler, I am clearing my LinkButtons and then
re-redering and marking with a different...
|
by: Nathan Sokalski |
last post by:
During my postbacks, I try to assign the value from an Input tag to a
property of a custom control. However, I keep recieving the following error:
An exception of type 'System.OverflowException' occurred in
Microsoft.VisualBasic.dll but was not handled in user code
Additional information: Arithmetic operation resulted in an overflow.
The code that it highlights during this error is the 2nd line of the
|
|
by: mankuipeng |
last post by:
I am doing ActiveReports with .NET environment. There is a ASP.NET page, with custom control on it. Control displays data from database, by editing all the necessary data and click 'Submit' button to render ActiveReport.
When I click 'Submit' button. LoadPostData and
RaisePostBackEvent in custom control occurs, then Page_Load, then Render.
It should stop at this point but sometimes LoadPostData and
RaisePostBackEvent fire many times...
|
by: tksc234 |
last post by:
Hello there. My question is related to full custom server controls.
1) The 'input' element that caused the postback already has 'Me.UniqueID' in its name field. I assumed, the value of postDataKey is this UniqueID is that right?
2) How do you set (and retain) the values of the different properties across postback. For example i have some String properties (eg. SelectedItemNo, ImageUrl...), integers that i want to save according to which...
|
by: Nathan Sokalski |
last post by:
I have a custom control that inherits CompositeControl implements
IPostBackDataHandler and ICallbackEventHandler. In the LoadPostData
function, I attempt to use the PostCollection parameter to get the data
posted by the child controls created in CreateChildControls. In the
PreRender event, I add onchange attributes to the DropDownLists with a value
created using the Page.ClientScript.GetCallbackEventReference. When one of
my DropDownLists...
|
by: Nathan Sokalski |
last post by:
I have a custom control that inherits CompositeControl implements
IPostBackDataHandler and ICallbackEventHandler. In the LoadPostData
function, I attempt to use the postCollection parameter to get the data
posted by the child controls created in CreateChildControls. In the
PreRender event, I add onchange attributes to the DropDownLists with a value
created using the Page.ClientScript.GetCallbackEventReference. When one of
my DropDownLists...
|
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: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|