|
you have to specify ur boss' computer name or IP in your firewall so that his computer can access your IIS...
Open your firewall setup in control panel and click "advance"... from there, read the instruction on how to give acccess...
hope this will help you.
xxx
|
|
|
|
|
thanks for support
the way u said i did the same thing i open the control panel
from there i open firewall setup then i open advance setting
then i give permission to my boss computer to access my website
i ping my computer from my boss computer. He get the reply from
my computer.
when i tried to open the website again it is given page cannot be display
i type the url in this way http://myipaddress/websitename/Default.aspx
will i have to set some setting from my iis or some other way is there
i will tell what i did after publishing i copy the publish files and i past
that file into wwwroot directory then i open the inetmgr from run then i open
default website i saw my website folder i right click that folder after that i
open the property and i set virtual directory then i closed the iis and from my
computer i open the internet explorer i type the address as
http://localhost/mywebsitename its work fine in localhost .
will i have set some setting to access my boss from my computer
please help me as soon as possible because i have to show today at any cost
please help me
|
|
|
|
|
r u sure u can run your ASPX file in your own PC??? because f u did, the problem s the comunication between your pc and your bos' PC... you should make sure you pinged your pos' pc.
pls check f u did the following....
1. click "control panel", "Windows Firewall", "Advanced"
2. clisk "Local Area Connection" or d network u use in order to connect
to your bos' PC.
3. Click "Settings", "Services",
4. "Web Server(HTTP)" must be check.
5. Click "Edit" button....
6. input d IP address of your Bos' PC...
7. Save all d changes....
P.S.
if it doesn't work, do the above instructions to your boss PC..... Your bos' PC myt have d same problem as yours... booth PC shud allow inbound and outbound communication in one common port. I know u understand what I mean....
F instructions were done.... type "http://xxx.xxx.xxx.xxx/mywebsitename" in your bos' pc.
xxx.xxx.xxx.xxx is your d IP address of your PC.
xxx
|
|
|
|
|
thank you very very very much
finally with the help of u i show the demo to my boss
thanks one again
|
|
|
|
|
No problemmmmmmm.... share ur knowledge also to others.....
xxx
|
|
|
|
|
you can also delete your virtual directory instead, copy your ASPX files in WWWRoot folder... that makes a lot easier.... by the way, don't forget to install "dotnetfix" in your PC, that myt be one of the cause of your problem
xxx
|
|
|
|
|
mdazeemuddin wrote: i tried that but i got the error that is page cannot be display
Did you create virtual Directory? Did you setup the Authentication setting, Framework version and Documents etc?
Does you system able to ping from other system?
|
|
|
|
|
it does not matter if your page is in virtual or not... the problem is in the firewall of the host pc... It must allow the remote pc by specifying the IP or Name to give access the page through a specific port, and that must be define in your firewall especially when you are using Windows XP....
The main issue/problem is the security....
xxx
|
|
|
|
|
thanks for support
yes i checked from other system it is giving reply when i ping from there
|
|
|
|
|
Hi,
I am working on a project in which I have to implement drag and drop functionality. My Drag and Drop should work in the following process.
First we will have some controls icons in a list. If we click on the icon then the cursor should hold the control and the cursor image should turn like'+'. Now
if we click on the control and select some particular area on the form or panel then the control should be displayed in the selected area size on the form or panel.
My main requirement is to display the selected component on the form or panel in the selected area size on the form. That is the control size should dynamically change with the area selected.
If any one know solution for this please reply me soon. Instead of controls like clock, Video playes you can explain me this using any image also.
Please reply me soon.
Thanks in advance.
|
|
|
|
|
|
for now i can use show in *.aspx page but when click on to insert how i should do to call value of my control into new record ...
for other record i use texrbox like this
<asp:TextBox ID="txtAddress" runat="server" Text='<%# Bind("Address") %>' MaxLength="4000" Width="100%" class="field text addr"></asp:TextBox>
for user control to input BirthDay ---
<control:Dateinput ID="DateinputBD" runat ="server" />
|
|
|
|
|
i have designed registration form. in that i used a calender for date of birth and date of join . just i drag and dropped the calender and textbox for date of birth.means whatever the date i have choosen in that calender it must appear over the textbox.here my constraint is doj must be greater than date of birth.
for this i need validation controls and validation expressions without javascript
if i used the validation controls like regular expression validator and compare validator then it is raising the validation even i gave the date of join greater than date of birth and date of join less than date of birth. help me in this regard as soon as possible
please help me in this regard
|
|
|
|
|
You can use Custom Validator and in that you can have Javascript code or server side code too. It is upto you.
Regards,
Kaushal Arora
|
|
|
|
|
I have grid view with teo fields.I want bind the records of particular row to the corresponding textboxes while clicking on the particular row.....I used the "onclick" command for getting clickable on that row but dont know how bind the records to their corresponding textbox...Please help me...Here is the code
<br />
protected void Page_Load(object sender, EventArgs e)<br />
{<br />
if (!IsPostBack)<br />
{<br />
binding();<br />
<br />
}<br />
void binding()<br />
{<br />
con.Open();<br />
cmd = new SqlCommand();<br />
cmd.CommandType = CommandType.Text;<br />
cmd.CommandText = "Select * from student";<br />
cmd.Connection = con;<br />
SqlDataAdapter ad = new SqlDataAdapter(cmd);<br />
DataSet ds = new DataSet();<br />
ad.Fill(ds);<br />
GridView1.DataSource = ds.Tables[0];<br />
GridView1.DataBind();<br />
}<br />
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)<br />
{<br />
if (e.Row.RowType == DataControlRowType.DataRow)<br />
{<br />
if (e.Row.DataItemIndex == -1)<br />
return;<br />
e.Row.Attributes.Add("onMouseOver","this.style.cursor='hand';");<br />
e.Row.Attributes.Add("onclick",<br />
this.GetPostBackClientEvent(GridView1,"Select$" + e.Row.RowIndex.ToString())); <br />
}<br />
<br />
Thanks in advance
Thileepan
|
|
|
|
|
Dear All,
I've seen some websites (on the email page) they put one textbox and one image "displays as characters or numbers". When they want to send email on that page, they must put the character or number to the textbox then click the send button otherwise they cannot send the email. What is it called?
How to do this on (asp.net with c sharp)?
Thank you so much,
Visoth
|
|
|
|
|
The thing is called "CAPTCHA" and for the help you can google search or you will find various articles for the same in CodeProject.
Regards,
Kaushal Arora
Please mark as Answer if it solved your problem.
|
|
|
|
|
Many thanks to your answer!
Chuon Visoth
Angkor Wat - Cambodia
asp.net - c sharp beginner
|
|
|
|
|
I am not understand session state or view state. please!
|
|
|
|
|
Hi,
Refer below link for what is session state and how to save and read values in session state.
http://msdn.microsoft.com/en-us/library/6ad7zeeb.aspx[^]
Brief about session state and view state:
View State are valid mainly during postbacks and information is stored in client only.
Viewstate are valid for serializable data only.
Moreover Viewstate are not secured as data is exposed to client.It get stored in browser.
Although we can configure page directive and machine key to make view state encrypted.
Session State- this is user specific data that is stored in server memory . Session state is valid for any type of objects. We can take help of session through different web pages also. But yes this is valid till that user's session.
Hope this is of help.
Cheers
Shilpa
|
|
|
|
|
Hi
I am really stuck in not being able to apply my Cascading Style Sheets to the nodes of my treeview. Using the tag Hover Style in the TreeView control I applied CSS, but when I run the application the hover style is not being applied, and I don't why. Also I have another problem with the same TreeVIew in that where there is a url in my SiteMap the color changes from that in the CSS, and I am unable to get those nodes, Parent or Child, to be the same as those which don't have a url.
Can anyone please help me.
Thanks
|
|
|
|
|
Can u give me an example how can I create a Gridview programatically.
|
|
|
|
|
Why, is google broken where you live ? What have you tried ? Where are you stuck ?
GridView gv = new GridView();
this.Controls.Add(gv);
Of course, you'll have issues with things like defining templates, and viewstate. Why do you need to create one programatically ? Do you need an infinite number of gridviews ?
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Yes I need almost 25 different Gridviews to show.
|
|
|
|
|
1.first u have to create the data table
2.then u have to add column.
dt = new DataTable();
DataColumn dcol = new DataColumn(ID, typeof(System.Int32));
dt.Columns.Add(dcol);
Then create the new Datarow and add '
create bound field
assign header text
add this bound field to the column .
and at last bind it
|
|
|
|