|
|
|
With the try/catch exception handling you can provide 'alternate' solutions to any problem that you anticipate in advance... for example, if the db connection fails, or if the page dosn't load, etc. you can do something else for the user so that they don't see some error page or message... my 2-cents
Nila Fridley
|
|
|
|
|
i want to pass a string from server side to the client side.
can anyone help me by doing so by xmlHttp Object in javscripting.
I had converted the string on server side to xml data first .
string strServerTime;
strServerTime = DateTime.Now.ToString();
strServerTime = "<?xml version='1.0'?><serverTime><time> " + strServerTime + " </time></serverTime>";
StringReader sr = new StringReader(strServerTime);
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(sr);
return xmlDoc;
and returned this object to client side .
on client side i had used xmlHttp.responseXML .but now i am not being able to
extract the child node to get the server time value.
can anyone please help me in this. its toooo urgent .
-- modified at 7:39 Wednesday 19th July, 2006
|
|
|
|
|
instead of loading into an xmldoc ,
append it to a string and write it to response like
Response.Write(string)
you can handle the responsetext
as
responsetext[0]
madhumathi.J
|
|
|
|
|
its ok but how to retrieve it on client side that is in javascripting.
|
|
|
|
|
i want to put the calendar in my asp page but in our toolbox have but that is not suitable for web site,is there a tool it's like button or someting when we click that button it should display the calendar(Web Calander).Can anyone help for this pls.
Thank u
|
|
|
|
|
You can search for some javascript calenders in google. It will server the purpose for you.
Best Regards,
Apurva Kaushal
|
|
|
|
|
|
What is this error and what should i do,pls help me? (I have VS.net 2003)
VS.Net has detected that the web server is running asp.net version 1.0.The web application you are creating or opening can be configured to be compliant with asp.net 1.0.
However, the application will not be able to use new features from asp.net 1.1.
|
|
|
|
|
You could install the .net framework 1.1...
The project you are opening must have been created under 1.1. For some reason you only have 1.0 on your machine. If you do have 1.1 installed, you may just need to register it with IIS.
|
|
|
|
|
Thank you for help.
I have installed the IIS server but i need to upgrade into 1.1 as u think so how can i upgrade .net framework 1.0 into version 1.1.
Thank you
|
|
|
|
|
You should be able to get it through microsoft update.
|
|
|
|
|
Hi
Sometimes, I get the following problem:
I create WebForms in VS.net.
I drag & drop a button on the WebForm. Then I double click it to write the event code in the code-behind file.
Then I test the button event on localhost and it works.
Then I deploy the project on a Live shared server. I click on the same button, and nothing happens.
If I include the onclick= "Button1_Click" to the html code , then the button event works on both: localserver & live server.
So please tell me why I get this problem for some Button controls and how I get solve this problem ?
(As I said I dont get this problem all the time)
|
|
|
|
|
Hi there,
Are sure that the code in the local dev box is the same as that in the live server? You might want to double check the web page with the button that does not work properly.
From my experience, this phenomenon happens with the ASP.NET 1.x, are you using this version? So you may consider using your own code to wire up the event handlers in code-behind instead of using the generated code. Another option is to use the inline code to register the event handler like you have tried, and it's also used by default in the ASP.NET 2.0
|
|
|
|
|
Hi,
Is this a bug of ASP.NET 1.x? Because i too have faced the same problem sometime ago. But it got working once i removed the event handler code and again getting it by double clicking that.
Best Regards,
Apurva Kaushal
|
|
|
|
|
I'm not sure if it is actually a bug as I didn't see Microsoft claims about it or I just miss that. But they said, you might have the postback event problem, when you run your ASP.NET on multiple load-balanced servers and the .Net framework 1.1 SP1 has not been installed on all servers. Also when I found that VS 2003 sometimes deletes the auto-generated code containing the event handler registration, I managed to put it on my own.
|
|
|
|
|
Probably because it is happening on quite rare occassions that hasn't got the much of attention.
Best Regards,
Apurva Kaushal
|
|
|
|
|
how can i use timer control in asp .net page. my project is question bank management system. i need the question will move after few seconds. how can i set this. plz help me.
|
|
|
|
|
You have to use javascript, because asp.net can operate only on server side. Once server sends a generated page to a client, then it have no control over page behavior. Javascript function can cause postback after each few seconds or simply display another question.
Pilo
|
|
|
|
|
Hi,
I have made one State Machine workflow, which has got multiple stages, and sub stages which are linked with each other. Now each stage has event driven activity which handles external events. This is working fine when from my UI I invoke each event on different button click. Also I am persisting the state of the workflow in SQL database.
Now my requirement is on one button click, I want to invoke multiple events from multiple stages one by one and in the order I have defined in the workflow. After invoking the first event, when I am trying to invoke the second one, which is in next state, an error is generated.
'Event ConductInitialInterviews on interface type RecruitmentTracker.InterviewProcessService.IInterviewProcessService for instance id 050b6e1d-e0ad-4a29-92a2-76cf54862aeb" cannot be delivered.'
Does any one has any idea?
Thanks in advance !!
Chintan
|
|
|
|
|
Hi everyone,
I have a web form that has the following fields:
name, address, postal code, country, email, contact number.
My Access database is called vcalendar.mdb. I have a table called users that has the following text fields:
name, address, pcode, country, email, contact.
I need to know how to take the information from the web page and insert it into the database. Believe it or not, I can't seem to find any examples. I've seen a lot that say something like Value, Name, etc. but I haven't found any that show multiple values into an Access database using VisualBasic.
I hope someone can help me out with the backend codes.. thanks in advance.
frossie
|
|
|
|
|
frossie wrote: Believe it or not, I can't seem to find any examples
You haven't look hard enough.
For example, try
www.asp.net[^]Look for Tutorials
or perhaps
http://www.syncfusion.com[^] and look for ASP.net FAQ's
or even search Code Project's Tutorials, there are many resources open to you, just look for them.
modified 1-Aug-19 21:02pm.
|
|
|
|
|
Sorry there,
but i'm not able to create a webform that allows insertion into database still.
i have tried various methods including using a datagrid, gridview, formview, dataview in asp.net. But im pretty confused at using an accessdata source and what not to write in the file.aspx.vb page?
frossie
|
|
|
|
|
Hi.. Good Day. i have a difficulties in select one record at a time in the datagrid which have a column with radio button for user to select.
My problem is, i have a .aspx page with datagrid,my requirement is only select one record at a time but now i select several record at a time.Anyone have an idea help me to solve the problem or have any sample for me to refer? Thanks..
Best Regards,
Pei Sun
|
|
|
|