|
Get the Textboxid and from that get the value.Can you show your peice of code?
Cheers!!
Brij
|
|
|
|
|
Dynamically created textboxes always have issues with viewstate. The best bet, is to just create them statically and instead, show or hide them in code.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Ravi_21 wrote: i want to generate the textbox from the code section and after that i want to read the values of those textboxes but i cant get the solution right
When you generate textbox from page load event, ASP.NET won't maintain viewstate for it. You need to create it before viewstate is loaded. I'd suggest to use a GridView with template columns and put your textbox inside the template column. You don't need to worry about the viewstate issues then. To get the textbox values back, loop through all rows and use FindControl() to find the text box from grid.
|
|
|
|
|
Hello Guys I finished my design of asp.net but my problem is "I don't know how to launching website in local computer". Here we have 8 to 10 computer and i want launch the website and get some feedback. but other computer don't have IIS and .net s/w also plzzzzzzzzz help me guys.....
Ananda
|
|
|
|
|
For that you need a web server . means you need a system on that lan which having a IIS installed and .NET Framework Installed.
Then Publish your web sites and create virtaul directory on IIS.
Give Access Rights
Distribute url to your team . And access it.
non-bugging Errors wrote: but other computer don't have IIS and .net s/w
Do not need to having IIS on all system. Just need on Server/System where you want to deploy the sites.
Let me know of any Issue...
Good luck !!!
|
|
|
|
|
Guys Thanx's for suggestion.
Know it is working in my computer perfectly but same i tried in friend computer it ask a Authentication password Enter username and password for http://indus. indus is my compter name. I m using admin user that contain blank password. and I don't know indus password. The OS and IIS installtion done by 3rd party. What can i do know.
|
|
|
|
|
From Virtual Directory Properties -> Directory Security -> Unchecked Integrated Windows Authenticaton and Check Anonymous
|
|
|
|
|
You didn't mentione if the 8 to 10 computers are on a network (LAN). if you you can launch the website in the following easy steps:
1. Compile your website application on your development machine in release mode.
2. Publich the website to some folder say d:\webapps\mywebsite\
3. Make a virtual directory for this folder in IIS, Set Permissions, Give access to Anonymouse user (for other comouters on same network to be able to open the website)
4. Now try to run the website as http://localhost/mywebsite/default.aspx here mywebsite is the virtual directory AND/OR website name (can be same for both)
5. Try to run it as http://YOURMACHINENAME/mywebsite/default.aspx
here replace localhost with YOURMACHINENAME (MYDEVMACHINE)or IP ADDRESS (e.g. 192.168.0.25)
6. Now the other computers on the same network should be able to access the website with URL
http://YOURMACHINENAME/mywebsite/default.aspx
or
http://IPADDRESS/mywebsite/default.aspx
Keep your windows firewall/ antivirus firwall off.
|
|
|
|
|
Guys Thanx's for suggestion.
Know it is working in my computer perfectly but same i tried in friend computer it ask a Authentication password Enter username and password for http://indus. indus is my compter name. I m using admin user that contain blank password. and I don't know indus password. The OS and IIS installtion done by 3rd party. What can i do know. Cry Cry Sniff Sniff
|
|
|
|
|
non-bugging Errors wrote: other computer don't have IIS and .net s/w
The only PC that needs those things is the server. The other PCs just need IE and access to your server, be it over the web, or via a network.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
At the time deployment,set anonymous access if you don't ask that passoword is asked.
Cheers!!
Brij
|
|
|
|
|
we are creating a report using easypdf in asp.net 2005 using c# language and we show that report in adobe reader 8.1.2 , we need a thai font which supports both thai and english words, we have some thai fonts (for eg: cordia new) which do not support english alphabets upper case, if some fonts
(for eg: DC-Palamongkol) support english alphabets but we are getting a just in time debugger error, so we got stuck,so any one know about Thai fonts Supporting both thai and also all english alphabets, can any one help us by giving a solution for this problem.
Still we have not get solution.Kindly give the solution...
modified on Monday, December 15, 2008 9:06 AM
|
|
|
|
|
hi
i created a webservice. i want to open excel file throught webservice
in that webservice i written a method with name "openExcelfile".
which opens excelfile write data in the excel file.
thanks in adv
By lavan
|
|
|
|
|
What do you want to do ? Take data and save it locally as an excel file ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
what actually you want to do?whwere is Excel sheet ?
Cheers!!
Brij
|
|
|
|
|
actually i want to run AutoCad software using the webservice,
bcoz due to few reasons my website hosting server doesnt support the installation of the AutoCad software.
so i installed the software in another server .
and i created a webservice using the IP address of this server.
and i wrriten a method which opens the Autocad Application
but it is not opening
bcoz the webmethod is returns a xml file
|
|
|
|
|
Why did you say Excel then ?
Webservices return XML, what did you expect ? It sounds to me like you're very, very confused. The only place a webservice can start Autocad, is on the server, because only the server is always listening and ready to receive requests.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
i could not install the AutoCad software in the hosting server.
i will clearly explain you so that u can help me...
my website is hosted/maintained in a server in which i cant install the AutoCad.
and the sqlserver Database is maintained in another server, in which i can install the AutoCad.
my small doubt is ..
from my site i can access the Sqlserver Database
but y not the AutoCad Application
now to access the autocad application what i have to do...
i think u understood
thanks for u r reply
|
|
|
|
|
lavankumar wrote: from my site i can access the Sqlserver Database
but y not the AutoCad Application
You can obviously execute the application but it will be on server as Christian mentioned.
Apurva Kaushal
|
|
|
|
|
Because SQL Server makes itself visible to a network, so you can create a network connection string.
I suggest you start with a basic book about computers, you plainly have no idea at all.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I tried to get the Id of a dropdown list in a gridview in my application. But I tried to get using this code...
Inside a protected void Function
DropDownList ddlFilter = (DropDownList)gvCRMODField.FindControl("ddlFilterCriteria");
But it is showing the value Null on runtime. How can i know the ID of this dropdown using FindControl in the function
Any help would be thankful..
SAJAN A PILLAI
ASP.NET,C#.NET Programmer
BANGALORE
"Winners don't do different things. They do things differently. ...
|
|
|
|
|
It may be for first grid row (Header). I mean to say in case of first row but did you try for second row.
Parwej Ahamad
|
|
|
|
|
The dropdown list is in the third row of the GridView.....
SAJAN A PILLAI
ASP.NET,C#.NET Programmer
BANGALORE
"Winners don't do different things. They do things differently. ...
|
|
|
|
|
U need to loop through all rows of the Grid
In the loop
assign the current row to the GridViewRow object then u can use find control .....
|
|
|
|
|
Dim SendFrom As MailAddress = New MailAddress(txtFrom.Text)
Dim SendTo As MailAddress = New MailAddress(txtTo.Text)
Dim MyMessage As MailMessage = New MailMessage(SendFrom, SendTo)
MyMessage.Subject = txtSubject.Text
MyMessage.Body = txtBody.Text
Dim attachFile As New Attachment(txtAttachmentPath.Text)
MyMessage.Attachments.Add(attachFile)
Dim emailClient As New SmtpClient(txtSMTPServer.Text)
emailClient.Send(MyMessage)
above is my code, while i run this am getting the below error
"mail box unavailable,The server response was: 5.7.1 Unable to relay for murali.sg@gmail.com"
is there any solutions..?
self confidence+hard work=SUCCESS
|
|
|
|