|
Yes,
What u said is Correct.
U said that all they are image and u need to put sum logic behind this
like keeping image Names as 001,002, so on let say upto 1000 u have ...Name them with numbers only
After that Generate a rondom Number in ur COde using Method Name----> Random()
Once u Get that Random Number which is less than 1000
place that image in image tag so u can solve ur problem
If u have any douts feel free to ask:
Nagaraju
|
|
|
|
|
Hi
I want to put a small chat application in my webpage.
To chat only 2 people admin and client.
any ideas.
i tryed with http://www.codeproject.com/aspnet/SimpleChat.asp[^] But from this no.of people can chat.
i want to do only 2 people chat
can any one give idea
Than Q
Keerthi
|
|
|
|
|
|
Hi all
I am working on a asp.net2005 application. My problem is i have to get the preview of a image just by browsing the file. The upload control is HTML control so how to display the picture just by browsing the file. I really don't have any solution now. i searched a lot for the solution but didn't got any.
Earlier i did a similar application but that time we had a upload button on the page so it was easy.
If any one can help with code pl
Regards
Prakash Mishra
Prakash Mishra(Banglore,India)
|
|
|
|
|
I'd imagine if you insert an img tag that reads the local file path, that would work.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi all,
i am calling the exe from webapplication like this
startInfo = new System.Diagnostics.ProcessStartInfo(@"obj\Debug\Mainform.exe");
p.StartInfo=startInfo;
p.Start();
probelm is i am unable to see the exe ans this exe is running in the task manager.
i want to see the exe(gui winform)..
how can i do this
Ramesh
|
|
|
|
|
You can't.
1 - the ASPNET user is running the exe, which means you won't see the UI
2 - obviously when yuo deploy this app, the exe will run on the server, so the clien't couldn't see it anyhow
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Can anyone help me to show a Movie or Some Video clip in the Web page.can anyone send any link or get some ideas.
|
|
|
|
|
Hi all,
I wan`t to display a datagrid which has 3 fields.viz a checkbox as template column, a bound field followed by another template column with an image button.
Basically the query fired for filling returns me 5 columns.I wan`t to format the bound column as combination of 2,3 and 4 th column(not just concatenating).How do i set the datafield value then.
I used another approach for this purpose using a datatable with my datagrids autogeneratecolumns true,
but the problem is that all the template fields appear in together at start and the bound field at last.which approach to choose and how to go about it?
|
|
|
|
|
1st of all I am new to asp.net and web programming/designing
<story>
I needed a way to display formatted posts (i.e. preserving the font styles, background color etc). So I thought of storing html text to my database. This way I can just insert my post in between "div" tags.
</story>
But how do I post the html text to the database? Do I have any control where it is easy to compose in rich text, and then, get the equivalent html for it? Or do I have to come out with a logic to obtain html text from such a control?
But first I want to know if there is anything that would allow me to compose my posts with rich formatting like how most blog websites do (blogger.com or wordpress.com)
|
|
|
|
|
|
So are you suggesting there is nothing in-built in asp.net?
And, how should we use this editor? Should we install it on our server...?
|
|
|
|
|
Check Their homepage, it also have extension for ASP.net. But it woud required to Link dll to wep page and put also a certan javascript in to use it. And i say again. Check their homepage. Everything is there.
|
|
|
|
|
Hi
I have a botton on my page, which should write something in sessions and then open a new page.
There isn't any target in the link button, so I choosed to make a Page.Register to open a new window.
My Code is:
<br />
<asp:Button id="btnPrintKoerselDate" class="buttonbackground" runat="server" Width="125px" Text="Print kørsel pr. dato" OnClick="btnPrintKoerselDate_Click"></asp:Button> <br />
<br />
protected void btnPrintKoerselDate_Click(object sender, EventArgs e)<br />
{<br />
Session["KoerselStart"] = txtFromDate.Text;<br />
Session["KoerselSlut"] = txtToDate.Text;<br />
Session["Koersel"] = "Date";<br />
<br />
string popupScript = "<script language='javascript'>" +<br />
"window.open('PrintKoersel.aspx', 'Print kørsel', " +<br />
"'width=1000, height=1000, menubar=yes, resizable=yes')" + "</script>";<br />
<br />
Page.RegisterStartupScript("PrintJS", popupScript);<br />
}<br />
When I run the code in Firefox it works ok, but when I run the code in IE7 I get the following error (and the new page don't appear like in Firefox). I have disabled popupkiller in IE7 and turned of my firewall, so there isn't any kind of popup killer.
Line: 278
Char: 1
Error: Invalid argument
Code: 0
URL: http://localhost:1739/ANSI/Faktura/Lister.aspx
Can anyone help me please, to get the above to function in IE or to give me alternative to have a button which write something in sessions and then open a new page?
Kind regards,
simsen
|
|
|
|
|
I found out by myself
The name must not have any spaces in the name, and the sizes must not have '' around
simsen
|
|
|
|
|
Hi,
I need to save the Datagrid value in Database. Can any help me out. Thanks in Advance.
|
|
|
|
|
jebin k wrote: need to save the Datagrid value in Database
Iterate through DataGrid rows, and insert into DB. What's problem here ?
|
|
|
|
|
I tried to Iterate using the statement below but failed. Can any one help me what is wrong in this syntax or any other methods available. Thanks in Advance
foreach (DataGridViewRow row in DGCsv.Rows)
{}
-- modified at 4:26 Monday 15th October, 2007
|
|
|
|
|
Hi all,
recently i have deployed a precomplied asp.net website in the webserver. when i try to open the site the following error is shown. what i have to do.
Server Error in '/' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Line 27: ASP.NET to identify an incoming user.
Line 28: -->
Line 29: <authentication mode="Windows">
Line 30:
|
|
|
|
|
Natarajasivan wrote: when i try to open the site the following error is shown. what i have to do.
You have to create a virtual directory on IIS
|
|
|
|
|
Hi,
I am using Asp.net 2.0, I have a HTML table with all images and data in it. I want to export it to the pdf file on a button click. How can I do this?
Can any one help me?
Thanks and Regards,
Bhanu
|
|
|
|
|
I am working on a custom control that inherits from the GridView control. What is the best way to filter the data it displays? I want to the gridview to do the work, not the supplier of the data.
|
|
|
|
|
GreenGiant83 wrote: What is the best way to filter the data it displays?
What kind of filtering ?
|
|
|
|
|
The user selects from list of unique values in a given column. On that selection the gridview should look at its data and filter out all records that do not match the selected value on the selected column.
|
|
|
|
|
Well, assume you are binding GridView with a DataTable . It contains a select method which returns DataRow array. So your custom control needs a public property or method where user can supply the filter. Then apply that to your DataTable and show the result.
|
|
|
|