|
try using listbox1.selecteditem.text
hope it helps
Kunal
|
|
|
|
|
Hi i create one project...,
now i want to submit the project to my client...,
i dont like to give my back end code to my client...,
just i like to give my screen design...,
With that the project want to run...,
How to do that?,
I am beginner in this,so plz explain me some what briefly..,
Magi
|
|
|
|
|
Hi Magi,
You have to send only dll and aspx files.
Open Project->Copy Project from your IDE.
From "Web Access Method:" Select "Front Page" and from
"Copy:" select "only files needed to run this application" option.
Mehedi Hasan
|
|
|
|
|
Use public website method in VS 2k5
<< >>
|
|
|
|
|
Hai to all,
can anyone halp me for which site is good to get faq's of asp.net for 1+yrs experience.
can any one send me some material otherwise.
I wanna attend interviews as 1+.
kissy
|
|
|
|
|
if given ur mail id i could send few docs!!
Gautham
|
|
|
|
|
Hello friends ...
good morning..
I want to use make client side validation on a button using javascript such as textbox is empty or not. After that I want to put textbox value into database using server side code using c#.
Is it possible? I am using html controls making them runat= server
How?
|
|
|
|
|
u can use RegularExpressionValidator or RequiredFieldValidator and set ControlToValidate property to your control such as textbox
We Can Do Anything, If We Want It
|
|
|
|
|
Ok ..But is it possible that both client side script on onclick (for validation ) will run first and then server side code (for database entry) will run .
|
|
|
|
|
no problem.
u can validate the control with many validators
We Can Do Anything, If We Want It
|
|
|
|
|
|
iamdking wrote: both client side script on onclick (for validation ) will run first and then server side code (for database entry) will run .
why do u want to validate twice.. try using the EnableCLientScript Propert of the validator by setting it false for Server side validation.. and settin it true for client side.. create 2 such validators.
iamdking wrote: for database entry)
supposedly 5 was the size, and 6 chars are entered, a exception will be generated, which can be caught and aptly handled.. but y wud u need this.. simply set the texbox maxlength to 5.
Kunal
|
|
|
|
|
Is it possible to convert a .WAV file to a .MP3 file using .NET?
Does anybody know of a resource site with a tutorial or sample code?
Thanks,
rajmani
|
|
|
|
|
Yes. Hope this This[^]will help you.
Regards,
Satips.
|
|
|
|
|
hi all
I have page main contain a iframe
On the page main have treeview and i use Ajax
tag UpdatePanel contain tree view but it not contain iframe
when i click event SelectedNodeChanged on tree view i want ReLoad iframe
On the function i try javacript but it not run
protected void treeview_SelectedNodeChanged(object sender, EventArgs e)
{
string strScript = "";
strScript += " window.parent.frames['ifmap'].ReLoad();";
//OR parent.frames['ifmap'].ReLoad();
strScript += "";
Page.RegisterStartupScript("ClientScript", strScript);
}
this is ReLoad() in iframe. it will postback to server with event LinkButton1
function ReLoad() {
__doPostBack('LinkButton1','');
}
How can i Reload or refresh my iframe on above function by any ways ?????
so when i use ajax and tag <asp:updatepanel id="UpdatePanel1" runat="server">
Any function javacript into not run. if i reject this tag so function javacript run good. ????
1. How can i refresh or reload iframe so use ajax. ?????
2. How do i run any function javacript into tag <asp:updatepanel id="UpdatePanel1" runat="server"> ?????
|
|
|
|
|
|
sorry i am very pressing ;P
|
|
|
|
|
One post is enough here.
Regards,
Satips.
|
|
|
|
|
Hello
you can use this method:
LinkButton1.OnClientClick = "javascript:window.parent.frames['ifmap'].document.location = URL;return false;";
or
LinkButton1.OnClientClick = "javascript:window.parent.frames['ifmap'].document.location = window.parent.frames['ifmap'].document.location;return false;";
We Can Do Anything, If We Want It
|
|
|
|
|
thanks but it tree view it haven't onclick or onclientclick ?????
|
|
|
|
|
u can use NavigateUrl for each treenode such as Tree1.Nodes[0].NavigateUrl = "javascript:yourfunction();return false;";
We Can Do Anything, If We Want It
|
|
|
|
|
|
i have created visual studio 2005 web application and i want to host it on apache server.
what configuration i need to do?
|
|
|
|
|
Windows Server and IIS;P
only two letters away from being an asset
|
|
|
|
|
should i put the whole project in the wwwroot.
but if i want to use apache server.
|
|
|
|