|
How should i give namespaces. Please help me. if my class in XYZ then what will be the Namespaces?
|
|
|
|
|
If you have this:
namespace MyNamespace {
public class X {
}
}
then you can access the class by MyNamespace.X. Maybe you could post your code...
Regards
Sebastian
|
|
|
|
|
you can use anything as namespace... but for easy use give some relevant name like when you are adding two numbers then you can give "namespace Addition"....
|
|
|
|
|
Have you made them public/internal
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
Hey all,
I want to call a javascript function and also the click event that is present in the code behind for an
ASP ImageButton.
I am using AjaxUpdate Panel and the Click event of the image button is registered for the auto update of the Ajax panel.
How do we do that?
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
Just add javascript to the onlclientclick event of the imagebutton and make sure to return true from javascript.
|
|
|
|
|
have done that but it gives compilation error...
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
AB7771 wrote: ut it gives compilation error...
So, you are expecting we will guess what error you are getting ?
Please Provide the proper/details information to get the correct answer.
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
maybe you can do it like this
In Page_Load event
ImageButton1.Attributes.Add("onclick", "javascript:alert('yes')");
|
|
|
|
|
Hi
I want to display an alert while deleting a record in gridview if the user clicks ok then only the record has to be deleted
can u help me out regarding this issue
|
|
|
|
|
You can simply do it in RowDataBound Event of GridView. where you need to find control add the JavaScript onlick for that button/link.
Let me know if you need any further clarrification.
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
function ConfirmDelete()
{
return confirm('Do you want to delete?';
}
at this to onclick attribute of the delete button.
|
|
|
|
|
When visitor of webpage closes page without logout(clicking cross in titlebar) means which event will be generated?
|
|
|
|
|
i think browser event will fire.. like window or browser closing..
no asp.net page event will fire..
anyway why u want to kno this.. any problem struct or jst for knowledge..??
|
|
|
|
|
when user of the website clicks cross in titlebar without clicking logout button i have to make it as Logged out. So how this can be done?
|
|
|
|
|
You have to handle the close event of the browser and then fire server side method to do database modifications
|
|
|
|
|
kavinnagarajan wrote: when user of the website clicks cross in titlebar without clicking logout button i have to make it as Logged out
unload event will fire... Try using that....
|
|
|
|
|
hiii....
i hav drop down list which contains vendor id list form database.
on same page i have a link button named "Add new" to add new vendor(using panel for this).
but when i click on save button in the panel the vendor id does not get updated in dropdown list.
like if the last vendor id was 107.i added new vendor so it shud show id 108 also but it is not showing that.however the new id gets submitted in database.tell me what shud i do...
|
|
|
|
|
again bind ur dropdown list after saving of data in database.
Dropdownlist.databind();
|
|
|
|
|
i want to show time like 4:59 mean(4 minutes:59seconds) then seconds countdown (decreasing one
second at time). when second becomes 4:00 then it reduce minutes by 1 and show time like this 3:59
then repeat the whole process as mentioned above. when both minutes and seconds become 00:00
then time start once again like 4:59.
|
|
|
|
|
|
Hi All
i want to change alert title in javascript.
i serach google but it is not possible to customize the alert.
so is their any way to display customize message (simillar to alert).
Regards
Keyur Satyadev
|
|
|
|
|
|
i want to implement it client side.
in your first link its not showing proper in mozila. i am trying it to customized it.
thanks for reply
Regards
Keyur Satyadev
|
|
|
|
|
Are you saying that you have created the alert box but it isn't showing properly in Mozilla? If so then you need to give more specific details on what is not displaying properly (with maybe a screenshot), and also provide the code you are using.
EDIT: Whoever marked my answer as a bad answer could you please provide some feedback as to why. I was trying to be helpful, but if you think that my answer was not helpful then you should have the decency to say why you think this.
modified on Wednesday, August 19, 2009 8:01 AM
|
|
|
|