|
Here when i am giving code in aspx.vb ,bydefault,for the button event it is giving functions return type as private.when i am debugging it it is giving error that Private is not accessible in this context.If i decalre it as public it is working.
But why it is not working for private???If i want to continue as private wat changes i have to make.
My friends programs are working with 'private'.
give me a solution
kissy
|
|
|
|
|
What does your code look like? Basically, the ASP.NET generates a dynamic class at runtime which inherits from the class defined in code-behind. If the function is defined as private, it's not accessible to the child class, it needs a higher access level like protected or public.
|
|
|
|
|
Hello!
I use in my app CreateUserWizard. When a user is registered i have OnCreatingUser event code which stores data in my own database but this data is also stored in the default databse(MS access). how to do this data not to be added in Ms access database?
Nadya
|
|
|
|
|
In the OnCreatingUser event handler, you can set the Cancel property of the event data instance to true after you add data to your own store.
|
|
|
|
|
i am new to asp.net programming.
i have created datagrid with checkbox col using <itemtemplate> option,i want to check the check box and delete the select rows frm grid,i tried but i am not getting it.i need code sample for it.
thanks in advance
|
|
|
|
|
You can find a lot of datagrid examples from the site datagridgirl[^].
|
|
|
|
|
|
hi..
First of all happy new yrear to you..
I want to generate a S-curve for a project (Commulative Work Verses Week Ending Date). Is there any tool to available to generate S-Curve?
Plz help me...
Thanx in Advance..
Gurudatta B. Shelke
|
|
|
|
|
|
thanx Sir 4 ur advice... but i think these charts are different than S-curves... S- Curve is a parabolic chart na??
Gurudatta B. Shelke
|
|
|
|
|
hi all
i would like to know how to restrict ..user to enter only numeric values in textbox.
i tried using keypress events and error provider..
but it doesnt met my requirement..
if user enter text it shouldnt be allowed..
thanks in advance for ur valuable reply..
let me know the best to do it
|
|
|
|
|
One of the simple ways is to use the RegularExpressionValidator to validate the input textbox value. You can also use client side script to prevent the user from inputting non-numeric characters, you can use google to search for the sample script, or you can see a sample control from the telerik[^].
|
|
|
|
|
I have a Asp.net 2.0 asp:FileUpload control on my page.
I want to keep the file name(file path) in the asp:FileUpload(textbox) after uploading the file.
I din't find any set property for asp:FileUpload
Any idea how to do this.
Regards,
Reji
|
|
|
|
|
The FileUpload control renders as the input file element at the client side, and the value of this client side element is read-only, so you cannot persist the path of the uploaded file with this control. You may consider using a label instead.
Just curious you don't have even a name to display?
|
|
|
|
|
Ok Thanks 4 the info...
I don't know why name not showing there....
Regards,
Reji
|
|
|
|
|
@Reji,
Simple Answer: You can not feed values to Input File control. It is for security reasons. Otherwise a malicious website can feed c:\winnt\system32\ and then upload the files from your system right?
|
|
|
|
|
i have following difficulty :
how to set the value of custom validator errormessage property in javascript function i.e. the clientvalidationfunction()?
is it possible in clientside script?
There's never a Wronge Time To Do The Right Thing !!
|
|
|
|
|
|
:(How to get number of visitors on html pages
|
|
|
|
|
|
thanks but the given url is not working and its not opening page
|
|
|
|
|
thanks but this code is not working for html pages
|
|
|
|
|
wish to add a media player on my web page to play audio and vedio. But not aware how to code it to play sounds online.
With Thanks & Regards
Amit Sk Sharma
|
|
|
|
|
You can use the object tag to embed to the player in your web page, you then need to use the client side script to do something like play, stop, pause .... You can easily find the sample code posted here using the search functionality or consult your friend google[^].
|
|
|
|
|