|
Try to import com componant for importing flash movie.
God Bless you.
Always do good to others
|
|
|
|
|
Hi all,
I have a case where i need to activate or deactivate validators if a certain field is visible or not. Note that iam making these fields visible or invisible using a javascript. Any ideas? Thanks
|
|
|
|
|
You can copy the code that ASP.NET generates and control if validators are fired, or how they are fired.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Can u give me more details!!!!
What i need is Ability to hide a certain container with all the validators inside it (disable them not just hide them)
|
|
|
|
|
I don't recall the actual functin names, but they are widely documented via google. One starting point is to look at hte code that is generated if you create a control with a validator.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I was a windows application programmer. I am newbie in web.
What i did in windows application is that the database connection will implemented at the time of start up the program. But when i started the work on web application i got an advice to open and close the database connection for every database operation. As an explanation they said it is the safest method.
But what is the risk? I searched some time in Google i couldn't find a good answer. Can i store sqlconnection object in application variables? Or is there any other good method? Can i get any useful links for this?
Thanks and regards
Ken,Mexico(Guanajuato)
|
|
|
|
|
you are using asp.net(c# or vb) coding language ,Whatever may be if you are asp.net the you can use webconfig file to declare connection and you can use the single connection where ever you want in your project.
ganeshk
|
|
|
|
|
Yes i am following this method. I wrote the connection string in web.config file. But what is my problem that opening database connection each time makes my site slow. I noticed that some of the functions are slow because it take 1 or 2 seconds to open a connection.
Thanks and regards
Ken,Mexico(Guanajuato)
|
|
|
|
|
That doesn't sound right. You should be enjoying connection pooling[^] as automatically provided by ADO.NET.
|
|
|
|
|
Thanks for that link. Actually i was blind on this problem. Now i got a thread. Let me to read that article for creating a systematic database connection.
Thanks and regards
Ken,Mexico(Guanajuato)
|
|
|
|
|
Hi Friends,
The following question was asked me in my interview. Since i am new to .net technology,
Please help me to know the answer for this question.
How Session Management is handled by ASP.NET?
Thanks in Advance,
Regards,
Prya
|
|
|
|
|
session object contains the user information. it will be created in the server side and it has some methods and properties.
you can set the session values programmatically and you can delete the session through the session.abandon method.
every session has individual unique id to identify the session.
All The Best
Sathesh Pandian
|
|
|
|
|
Hello Everyone,
Can anybody let me know how to create the message editor box of codeproject
For Example:- Actually i've to create the custom tags like bold,italic and etc so that i must be able to change the content of my site dynamically
I've textbox or label in this i just want to bold the text(particular) at runtime
Plz suggest me some way to come out of this problem
Thnx in advance
|
|
|
|
|
The site uses a HTML editor control, you'd need to write one, or find one online. I have no idea what control we use.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
In the internet many html editors are avaliable with source code.and one of them is FCKEditor.so u can search into this keywords.
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
Maybe look into this
htmlarea[^]
He who laughs last is a bit on the slow side
|
|
|
|
|
NeroToxic wrote: He who laughs last is a bit on the slow side
A nice variation on this:
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
I like
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
Hi
I have made calender control in javascript & called in asp.net 2.0.
I want in textbox also tht calender sholud be called & & 2 months Date it should show & Which date & privious date must be disabled .
Plz Help
thnx
|
|
|
|
|
Well, seeing as you wrote your own control, and have not posted code, I really don't see how we can help with this. If you want to disable a control, look it up and set it's disabled property ( from memory, it's disabled, not enabled ). But, I'm surprised you don't know this, if you've written a calendar control in javascript ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
I have added html file in asp.net project. In which I have to write code for saving the image files.
Image file path in same page on textarea. I want to save that image to server.
thanks!
-- modified at 2:57 Tuesday 24th July, 2007
|
|
|
|
|
Save what image files, and where ? Coming from your server to the client ? You'll need more than HTML to do that.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
I have added html file in asp.net project. In which I have to write code for saving the image files.
Image file path in same page on textarea. I want to save that image to server.
thanks!
|
|
|
|
|
Oh, OK. So, you need to replace your html file with an asp.net page, which uses a file upload control.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
which i understand ur problem, u want to save ur posted file into web server. if i m right then use the following steps.
1. create a html control into ur form by following code
<input id="FileUpLoad" type="file" runat="server" />
2.write the following code into ur save button click
string mapPath = (Server.MapPath("~/abc/xyz\\"));
FileUpLoadMap.PostedFile.SaveAs(mapPath);
3.give the write permission into ur particular folder where u want to save ur post file in ur web server.
hope tht'll help u
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|