hello All,
i am having a form(default.as px).where i have a textbox and a button.
i have set the button's postbackurl="de fault2.aspx";
now when i click on the button it takes to default2.aspx page but on the default2.aspx.c s the IsCrossPagePost Back is always false.so i am not able to do further coding like:
TextBox nametextbox;
nametextbox =(TextBox) PreviousPage.Fi ndControl("text box1");...
User Profile
Collapse
-
IsCrossPagePostBack returns false
-
handling event raised by an user control in parent page
if you have any link which explains both raising of event by user control and handling it on parent page,plz let me know. -
Thanks a lot for the response.i am going to use usercontrol instead.
Lipsa -
Using master page to use repeatative controls
Dear all,
very new to asp.net 2.0.need help urgently.
suppose i have 3 pages.
page1-
textboxname
textboxage
textboxAddress
page2-
textboxname
btnSubmit
textboxage
textboxAddress
page 3-
textboxname
textboxage
textboxAddress
labelgreetings
so u can see,in all the 3 pages i hv 3 common fields... -
hi,
try this one
w3schools tutorial
or another nice book
"Applied XML" BY ALEX CEPONKUS & FARAZ HOODBHOYLeave a comment:
-
DTD validating my XML,but not directly but in a third party tool
Dear all,
i m v new 2 use DTD.when i directly run my following code,the DTD (i am using internal DTD)is not validating my XML.bt a thirdparty tool is validating.
i think some parsing issue.
but nt getting the problem clearly.
if anybody can kindly explain.
my code:
<?xml version="1.0"?>
<!DOCTYPE order [<!ELEMENT appetizer (#PCDATA)>
<!ELEMENT dessert (#PCDATA)>... -
Access Hyperlink Using Hot Keys
hi,
I Hv a label and a corresponding hyperlink.i want 2 access the hyperlink using hot keys(alt+key)sp ecified in the label....is it posible?
label---firstlink
hyperlink="http :/..."
i want 2 access d link using ALT+F
regards,
lipsa -
check if the file is opened before uploading using javascript
hello all,
1-i m uploading an excel sheet(VB/ASP.NET).before uploading i want to check if the file to be uploaded is opened or not.if opened alert the user.i want to do it at the client side(using javascript).
2-i m using the follwing connection string ,which is giving me the fiollowing error.
"Keyword not supported: 'provider'".wha ts wrong?
strConn = "Provider=Micro soft.Jet.OLEDB. 4.0;Data Source="... -
HI,
U can replace the "enter key" character wid some message...
like
replace(field.v alue,vbcrlf,"en ter key is pressed")
here field.value can be any value where you want to check for enter key
hope it wud help
regards,
LipsaLeave a comment:
-
-
passing parameters to DTS package from ASP page
helo all,
i hv created a DTS package to download data from my table.and i am calling the package from my stored procedure.
when i m using "select * from <my_table>" in my package ,its doing well.
but now i want 2 pass 2 parameter s to my DTS package from my ASP page which will be user inputs.and based on the parameter i will fire d query
(select * from <my_table> where <my_column> between <param1... -
write arnd 2lakh rows of data in a pipe separated text file from database
i want 2 write arnd 2 lakh rows of data(16 columns)data in a pipe separated text file from database(sql server) .(its the need ,cant help)
i m using recordset/file system object.
its taking a lotssss of time.
plz suggest me some affective way 2 do it faster...
regards,
Lipsa(plz ASAP) -
hi,
check the followong link,u will hv a fair idea.
http://www.w3schools.com/asp/asp_globalasa.asp
Regards,
Lipsa...Leave a comment:
-
in addition 2 my previous answer,
there is a "IsNumeric" function in javascript also.u can use either with much ease
Regards,
LipsaLeave a comment:
-
-
-
Need help in career move
hello all,
i need help from u regarding my career move.actually i hd training in .NET when i joined my company.bt right nw i m working in ASP/SQL Server.and i m enjoying it.and i feel there z lots n lots 2 know abt it.but i m bit confused abt the market requirement in ASP.i hv just 3-4 months work exp.
so i m nt sure whether i sud continue in ASP for sometime or i try for .NET right nw.and i hv inclination 2wards database also.what... -
hi,
do the following.
1.var_state_nam e variable holds the entered state name
2.have a temp table(<state_ta ble>).which have a column(<state_n ame>) of US states.
3.now check the entered state name.
select count(*) from <state_table> where <state_name>='v ar_state_name'
4.if the query returns value 1(assuming 1 state name occurs once inthe table),that means the entered state is a valid...Leave a comment:
-
hi,
what cloumns are there in ur table,if u hv date colun then u can easily do that
with where ...LIKE,IN clauses
select * from <table> where <date_column> like '%yyyy%'
Regards,
LipsaLeave a comment:
-
hi,
see 152/60=2.53333 so round(2.53333) willl giv 3 definitely
BUT
142/60=2.36666 so round(2.3666) will giv 2.here i want 3.
i m thinking of doing using mid/substr function
i will check number(x) after decimal(here 3666)
if x>0 then i will add 1 to the no before decimal...
so 2+1= 3....
if x=0 then
2 will be 2
let me try...wat say???Leave a comment:
No activity results to display
Show More
Leave a comment: