|
If you can select an arbitrary area in a web app, you can't do it with ASP.NEt, you need javascript.
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 )
|
|
|
|
|
Nekkantidivya wrote: windows form
wrong forum, try this[^]
|
|
|
|
|
Hi all,
How to generate html control object based on the given string. (string contains the proper html tags, this string is actually generated from rendercontrol function of a webcontrol).
Please help me out on this .
thanks,
Zaki
|
|
|
|
|
I am unable to get your question, Can you please elaborate it a bit?
Ahsan Ullah
Senior Software Engineer
MCTS 2.0
|
|
|
|
|
I have a field in the database which holds the html content of a web control (for example Emploee Name). Bsed on this string content i need to identify the type of a webcontrol and get all its assigned properties along with the values of each property.
we can get the assigned properties and values by using GetType() and GetProperties() functions. All i need is how to convert the string content to html control.
One way is to parse the string and identify the type of a control by looking at Type attribute.(exmple ).
But this shouldn't be the best way to achive this .
please help me.
|
|
|
|
|
i need code for displaying the data in gridview
|
|
|
|
|
|
You're a retard. Thanks for playing. People like you, who cannot read a book or use google, are the reason outsourcing is so bad for our industry.
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 )
|
|
|
|
|
hi
you can use this simple code
String conString="data source=localhost\SQLEXPRESS;initial catalog=New;integrated security=true";
SqlConnection cn = new SqlConnection(conString);
SqlCommand cmdFillGrid = new SqlCommand("select * from myTable", cn);
SqlDataAdapter adapter = new SqlDataAdapter(cmdFillGrid);
DataSet ds = new DataSet();
adapter.Fill(ds, "myTable");
GridView1.DataSource = ds.Tables["myTable"];
GridView1.DataBind();
Essam Moustafa
|
|
|
|
|
I'm running an ASP.NET project using mainly html; I'm not sure how to make the text a bit larger, because even when I adjust the tags within the .css file, the text seems to remain of the same size.
[CODE]
Articles.aspx
------------
...
<asp:Content ContentPlaceHolderID="Body" runat="server">
[B] <span class="body">[/B] This page is still under construction. </span>
</asp:Content>
...
[/CODE]
[CODE]
common.css
------------
...
body{
background-position: #fff;
font: 62.5%/2.2em "Lucida Grande", Tahoma, Verdana, Arial, Helvetica, sans-serif;
color: #4b4942;
background: #fff;
font-size: x-large;
}
...
[/CODE]
Screenshots of output at http://cid-b712073b3513eb8e.skydrive.live.com/self.aspx/.Public/blog-what%20bugs%20me.docx
Source available at http://cid-b712073b3513eb8e.skydrive.live.com/self.aspx/.Public/Blog.rar
Environment
Visual Studio 2008 SP1 + .NET 3.5 SP1
WinXP SP2
IIS 5.1
Jon
|
|
|
|
|
[B] [/B] This page is still under construction.
Firstly you should do it like
[B] This page is still under construction. [/B]
Secondly make sure that you have included the css file in your page.
Ahsan Ullah
Senior Software Engineer
MCTS 2.0
|
|
|
|
|
Hi every one
i am working in organization and i have developed one website
my question is i publish my website perfectly now i have to show the website to my boss
in our company there is no server i developed website in client machine
if i install IIS in my boss Computer and i put my publish files in wwwroot directory and i make
virtual path will it work or i need to register the dotnet with IIS
but i con't install dotnet on my boss system
and one more thing i use database also to save user registration detail and for some other pages also
how to show demo on my boss system
please help me its very very very urgent
thanks in advance
|
|
|
|
|
Make virtual direcory in your own system
And access it from your boss system. You can do it like http://IP OF YOUR SYSTEM/VirutalDirecoryName/PageName.aspx
Ahsan Ullah
Senior Software Engineer
MCTS 2.0
|
|
|
|
|
thanks for support
i tried that but i got the error that is page cannot be display
|
|
|
|
|
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.
|
|
|
|
|