|
Saeed,
It's better for you to download and install the Visual Web Developer (VWD) from Microsoft's website (it's free) as your development environment. To learn how to build a basic site, visit http://www.learnvisualstudio.net/Free.aspx[^]
Just make sure you have .Net 2.0 Framework and IIS 6.0 installed on your development machine BEFORE installing VWD. This should be enough for now!
Nila
|
|
|
|
|
I know how to build a basic site, but the problem is that i want to build a site with the follwing contents:
a page that users can edit thier profile
and that they can upload photo's
and able to chat
i have build the pages, but I dont know how to let them work properly: for examp: if they edit thier page in de edit mode, that de settings appaers on thier page.
and they should be ebale to edit thier page in HTML.
can u help me?
Saeed
|
|
|
|
|
When is your assignment due? I am in the middle of work right now but I can help you over the weekend. Let me know.
Nila
|
|
|
|
|
I have 3 weeks left. you can also add me on msn if you want to.
smgetaweh@hotmail.com , but I'm always on: thughgang@hotmail.com.
thanks.
Saeed
|
|
|
|
|
Sorry about the delays... didn't get notification email for your posting until today!
Web App Development 101 in a nutshell{
1) You have to figure out how you are going to store data.
2) Chances are, you will have to use a database of somekind... draw your tables, set your relations/PK/FK/etc.
3) Decide on how many pages you will have, and what will each do, and how they will interact with oneanother and the server.
4) ALWAYS start your design from the top, then start developing from the buttom. With that being said, start sketching your process flow charts and define data flow.
5) Start coding!
}
Now, how many pages will you have? Will you need to use a masterpage to display certain things at all times (e.g. login)? Are you going to use a theme? Take a look at this when you get a chance:
http://www.asp.net/downloads/starterkits/default.aspx?tabid=62
Nila
"...for that, I will need a large cup of coffee and a brand muffin!" -Samantha Bea
|
|
|
|
|
No need to say sorry
I have put few things on paper and I would like to send then to you. could I have your mail?
because I can't cant it through this MessageBOX.
my mail is smgetaweh@hotmail.com
saeed
Saeed
|
|
|
|
|
Cool, zip'em and send to NightHawk13@hotmail.com
Did you, by and chance, find a template that would work for you?
Nila
"...for that, I will need a large cup of coffee and a brand muffin!" -Samantha Bea
|
|
|
|
|
I have not yet find a Template..
Im not that good at designen..
saeed
Saeed
|
|
|
|
|
Out of curiosity, which school do you attend?
Nila
"...for that, I will need a large cup of coffee and a brand muffin!" -Samantha Bea
|
|
|
|
|
Hi guys, i have an edit LinkButton which display a update panel with some lables and textfields in it. I want to display some values in the textFields before the updatePanel comes on the screen. I am basically, creating an updatepage which should first display the exisiting values.
When i click on editQuestionLnkBtn it calls below ajax and this code display a panel.
All i want is before editQuestionLnkbtn calls this ajax i want to initialize some values of this panel and then display the page
<atlas:modalpopupproperties id="mp10" targetcontrolid="editQuestionLnkBtn" popupcontrolid="panelUpdateMcQ" cancelcontrolid="btnCancelUpdateMcQ" backgroundcssclass="modalBackground" dropshadow="True">
|
|
|
|
|
Hello,
I am trying to send an email from a form in my web page.
I have the following codes:
...
Dim mailSettings As New System.Net.Configuration.MailSettingsSectionGroup
Dim smtpClient As New System.Net.Mail.SmtpClient
smtpClient.Host = mailSettings.Smtp.Network.Host
smtpClient.UseDefaultCredentials = False
smtpClient.Port = mailSettings.Smtp.Network.Port
smtpClient.DeliveryMethod = System.Net.Mail.SmtpDeliveryMethod.Network
smtpClient.Credentials = New System.Net.NetworkCredential(mailSettings.Smtp.Network.UserName, mailSettings.Smtp.Network.Password)
smtpClient.Send(message)
...
And in my Web.Config file I have:
<system.net>
<mailSettings>
<smtp deliveryMethod = "network">
<network defaultCredentials = "true"
host = "mail.domain.com"
password = "secret"
port = "25"
userName = "user@domain.com" />
</smtp>
</mailSettings>
</system.net>
I am getting the error:
"ConfigurationSectionGroup cannot be edited before being added to a section group belonging to an instance of class Configuration"
I looked for a solution all day and I can't solve this.
Could someone tell me what am I doing wrong here?
Thanks,
Miguel
|
|
|
|
|
The error is telling you to make sure it's inside the Configuration tag. Is it wrapped?
|
|
|
|
|
If it is embedded, find the following in your config file
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
and change it to this
<configuration>
see if that works.
|
|
|
|
|
I can't see what you posted but yes it is wrapped in <configuration> tags.
|
|
|
|
|
I added spaces, so it will be displayed.
If it is embedded, find the following in your config file
< configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0" >
and change it to this
< configuration >
see if that works.
|
|
|
|
|
I solved it this way:
' Create and define the SMTP client
Dim smtpClient As New System.Net.Mail.SmtpClient
' Create access to configuration file
Dim configurationFile As Configuration = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration("~/Web.Config")
' Create mail settings section group
Dim mailSettings As System.Net.Configuration.MailSettingsSectionGroup = configurationFile.GetSectionGroup("system.net/mailSettings")
' Define smtp client properties
If Not mailSettings Is Nothing Then
With smtpClient
.Port = mailSettings.Smtp.Network.Port
.Host = mailSettings.Smtp.Network.Host
.Credentials = New System.Net.NetworkCredential(mailSettings.Smtp.Network.UserName, mailSettings.Smtp.Network.Password)
End With
End If
Thanks,
Miguel
|
|
|
|
|
Dear All,
I have written a windows based program to send an email to any client. It is ok. But what should I do when there is no registered SMTP server with me. Can any body give me any solution?
Although I got few of free SMTP servers from internet, but after installation, they are unable to work.
II)
How do I create the inbox program?
How to retrive header information of received mail? say; To, From, Subject etc
I am using MS .Net 2003 with Sql Server2000.
Thanks in advance.
Abhishek Maitrey
|
|
|
|
|
If you're using the internet, odds are you have an email account. Use those smtp settings.
|
|
|
|
|
There are quite a few FREE smtp servers out there that you could install yourself on your own box.
Blog Have I http:\\www.frankkerrigan.com
|
|
|
|
|
i want to get an instance of the web pages from the assembly in asp.net ..
i couldn't use this method ..
AppDomain.CurrentDomain.CreateInstanceAndUnwrap(pg.GetType.Assembly.GetName.Name, System.String.Concat(pg.GetType.Assembly.GetName.Name, ".", pageName))
how can i got an inistance of a page from the assembly ..
thanx
لا اله الا الله محمد رسول الله
|
|
|
|
|
You have to use Assembly.FullName property instead of Name and I didn't understand your way to obtain type name. This works fine for me:
object o = AppDomain.CurrentDomain.CreateInstanceAndUnwrap(page.GetType().Assembly.FullName, page.GetType().FullName);
check msdn: http://msdn2.microsoft.com/en-us/library/3c4f1xde.aspx
Pilo
|
|
|
|
|
Hi All
I have textboxes which is bounded runtime in datagrid.I add validator at runtime.When I click on save button,validation fired.But when i click on edit button,validation not fired.
I am adding textbox again at runtime when i click on edit button as per my requirement.
I have two columns in grid.At edit time i want to check textbox so i write this code.
For Each ditem In dg_unit.Items
dim txt as textbox=ctype(ditem.cell(1).control(0),textbox)
next
it gives an error.Out of specified argument.
I am not getting how exctely it would be happened?
becoz i am adding textbox in cell(1) of grid.
what is excetly problem?if u eill get some idea,pls help me.
Thanks
monika
|
|
|
|
|
Looks like your grid item does not have two cells, or your second cell does not have any control inside.
I would say you didn't add column or textbox after postback. If you are sure you did, then put breakpoint on row where you did so to stop application there, check if textbox is in its place and then go step by step through your code and find out WHERE it gets lost. Or post code, where you add your textbox into grid and your event handler, that we can take a look what can be wrong
Pilo
|
|
|
|
|
How can I retain the value of one textbox from one form to another within same project ?
Like suppose I have a login id page ( Form I) in which the users are going to enter their login id & password. Now on 2nd page (Form II) I want to use this value of login id to fetch some related data from database. Now, how can I transfer the value of the login id entered by the user from one form to another.
Pls provide some solution in this regard.
Thanks & regards,
Mini
|
|
|
|
|
try to use a session variable
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|