|
Postback is the standard way of requesting the sever in ASP.NET, otherwise you may use AJAX.
|
|
|
|
|
Hello.
I'm useing a calendar control on my page and I want to let the user pick a date from today untill 14 days from today.
Is there a way to limit the dates that will appear on the calendar control (I want to avoid haveing to check after the selection what did the user select)?
Thanks in advance,
Roy.
|
|
|
|
|
sdsdsds@hotmail.com wrote: Is there a way to limit the dates that will appear on the calendar control (I want to avoid haveing to check after the selection what did the user select)?
Yes there are..But since you are using some custom controls , i don't now how much you can customize that ? You can do one thing when the date is assigned to the textbox call some javascript function and check the date is correct or not. If not prompt the user for entering correct date.
|
|
|
|
|
Hi all,
I am designing a form in which i show employee info when the user clicks a button.I want that when user selects an employee the current state of the page be saved and the user is directed to other page where he does some thing and when he hits return the saved context is reloaded. Is it possible using session variables???
|
|
|
|
|
Try and store the values in a database table rather than session variables.
Mubashir
Every job is a self portrait of the person who did it.
|
|
|
|
|
Dear friends,
I want to populate a formview or details view or list view in such a way that empty rows will not be displayed at all i.e. suppose there are records in a database having name, age and qualification field. I have some records which do not have age field. I want to populate formview or details view or list view in such a way that for those who have age their records are diplayed alongwith their age. But who don't have, instad of displaying empty fields I do not want to show its row alongwith its label (age) at all.
One more thing. How to display multiple records (say 5) in formview or details view or list view alongwith paging (I know paging but don't know how to display particular no of records per page).
I will be very much thankful.
|
|
|
|
|
Why not put a WHERE clause in your SQL? WHERE age != null OR age != ''
|
|
|
|
|
Sir,
If I will use that sql query then null age records will not be included in dataset. I just want to eliminate empty rows alongwith their lables in my details or form or list view.
|
|
|
|
|
Hi Friends ,
Can any one let me know how can we upload a video and play it in .swf format as in www.youtube.com.
Please help me its very urgent....
Waiting all the .net gems to answer.
Thanks all for reading and answering in advance.
Live Life King Size
Asif
|
|
|
|
|
Dear experts,
I have built a composite control and trying to use it on a web site project.
When I'm compiling, I get this message:
Error 1 Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. V:\LiorTest\Login.aspx 44
Beside that error, I get another error message when compiling:
"Error 19"…….. unc……….. because the network BIOS command limit has been reached.
I have read the appropriate article regarding the last error and set the registry as requested but still I get this error.
the Web.Config is empty.
How and where can I set the security for the composite control?
Can I see an example?
|
|
|
|
|
There are two ASP.Net pages. Page-A contains GridView control, whenever user adds a new row or edit existing row can see an image, on click of image a new window pops-up which contains a textbox and a button. Whenever user types something in textbox and presses the button the text should be transferred back to the EDITABLE or NEW Row in GridView in one of the textbox controls.
Now the problem is how to do that.
Thanks.
The Phantom.
|
|
|
|
|
Is it possible to change the default Orientaion of Child Nodes of a TreeView
control of Asp.Net2.0? Default orientation is Vertical that is child are added vertically but I wanna make it horizontal? any idea please (without WPF)?
monir
|
|
|
|
|
Please tell me the command to clear the contents of the gridview control
Thx
Bye
|
|
|
|
|
I am not totally sure why you would want to have a blank gridview, but to do it you just need to set the datasource = null (Nothing in VB) and then call the gridview.DataBind() that will blank out the gridview.
Hope that helps.
Ben
|
|
|
|
|
Or GridView.Rows.Clear() (after its databound of course)
|
|
|
|
|
Hi All,
Im not able to run any web application (aspx).Once I press F5 Im getting the error
1)webdev.webserver.exe
unable to find a version of the runtime to run this application
2)unable to connect to visual studio's localhost web server
can any one pls help me to solve this ..
Regards
Bino
|
|
|
|
|
sounds like your web server software didn't install properly. What version of the of VS are you using?
|
|
|
|
|
Im using VS2005(framework 2.0)
pls send me ur suggestions
Thanks in advance..
Regards
Bino Varghese.V
|
|
|
|
|
It looks like it didn't install properly. Maybe try it again and make sure you select the option for the development server (if there even is an option, I didn't think there was).
|
|
|
|
|
Hi
I need to add another web.config file in one folder of my application because i dont want to apply security on this folder.
Now problem is when i add web.config and run any page under this folder it gives "Error while trying to run project" error.
|
|
|
|
|
That only reveals where the error message comes from. What are the details of the error message?
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi, I Just Started to build this project. Everything is going on well until I came to user login page. I am getting a error msg Error 1 'ASP.login_aspx' does not contain a definition for 'Login1_Authenticate' File: Login.aspx Line 24
May be I need a code to authenticate username and password.
Can someone provide me a good code for this in C#
Database is already created as ASPNETDB.MDF
I am using .NET 2005 to develop this.
Thanks
|
|
|
|
|
-i wonder how to be a "Root Admin" "Administrator" and etc...user,could it be in the Asp.net Website Administration tool?if it is.how can it be done?how can i deny simple user or anonymous user to access all the file in the database?
-another is,could it be possible that i can create a database where the username column have now values and the user will decided for its own password for security?can be possible..for example my username stored in the database and i will sign up for its password,that will directly store in the database...and whenever i visited the site,i can now access the site...
--Just like myspace and other website that the user has its own "my settings"where the own user has its own control to his page..where to make it?could i be used "master page"???How can it be done??im thinking of a 1 default page or default.aspx web form,that every user default page whenever the user visit the website? does anyone would tell me how can it be done??
--im using a visual web developer and asp.net 2.0 to build the website,what could be the most precised website for that rather than codeproject for more tutorial??
--thanks for the answer
|
|
|
|
|
Hi all,
In my application iam using a public function binding which is for binding dataset to datagrid in webform1. I am calling this fuction from another web form say webform2. I got error in Datagrid1.Datasource
line saying {"Object reference not set to an instance of an object." }
I am not passing dataset . Just calling the binding function which
runs query, fill dataset & set the datasource of datagrid to dataset.
If iam running webform1 , binding function is working fine but when i call from webform2 its giving error .
Thanks in advance.
|
|
|
|
|
your problem is in the Error.
You have not instatiated your object correctly.
Step through your code, and find out which object is null, and you'll find your problem.
|
|
|
|