|
Hi,
I am wanting to create an asp.net website, that will allow the user to download a software. So instead of downloading the software, I want if the user click on download button, the software gets started installation.
How this can be achievable?
Burhan-
|
|
|
|
|
Member 1597230 wrote: I want if the user click on download button, the software gets started installation
Would you mind to tell us why you want to do this?
This is ually done for installing malware.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
No. You can't, Unless you are using some ActiveX control. But this will work only on IE.
But the Idea is
cheers,
Abhijit
CodeProject MVP
Web Site:abhijitjana.net
When you ask a question, remember to click "Good Answer", If the Answer is helps you.
|
|
|
|
|
Abhijit you are right...this solution also prompt in my mind, actually I want to monitor the downloading process and display the status of web page that such and such % has been downloaded, or the link breaked you need to re-try, thing like that...
I dont know how to achieve this.
|
|
|
|
|
Hi,
I have developed one small asp.net application using express edition (both VS2008 and SQL server).
I want to launch that application. can i launch my own website with this application as it is built in express edition. Or do i need to buy VS standard or professional edition for this just to make sure everything is LEGAL?
I don't have any plan to earn from it, it will be free to login.
Also
second thing, which hosting provider will be best and cheap to launch such a website.
Please help,
Lucky
|
|
|
|
|
There won't be any problem to deploy applications created using Express edition. In fact, there is no way to identify the tool you have used to create the application once you have deployed it.
I'd suggest http://bizhostnet.com/[^]. Worked well for me all the time.
|
|
|
|
|
|
Just show us the code for creating the textbox.
cheers,
Abhijit
CodeProject MVP
Web Site:abhijitjana.net
When you ask a question, remember to click "Good Answer", If the Answer is helps you.
|
|
|
|
|
function addkeywordBox()
{
if (!document.getElementById || !document.createElement)
return false;
var keywordArea = document.getElementById ("keyword-area");
if (!keywordArea)
return;
var newLine = document.createElement ("br");
keywordArea.appendChild (newLine);
var newkeywordBox = document.createElement ("input");
// Set up the new input for file uploads
newkeywordBox.type = "text";
newkeywordBox.size = "60";
// The new box needs a name and an ID
if (!addFileUploadBox.lastAssignedId)
addFileUploadBox.lastAssignedId = 100;
newkeywordBox.setAttribute ("id", "dynamic" + addkeywordBox.lastAssignedId);
newkeywordBox.setAttribute ("name", "dynamic:" + addkeywordBox.lastAssignedId);
keywordArea.appendChild (newkeywordBox);
addkeywordBox.lastAssignedId++;
}
|
|
|
|
|
I am not sure but may be it helps you. When dynamically creating controls keep track of their client ids then when you need data entered in those controls upon post back search their parent control for those ids, cast object to text box and extract their value. This answer is specific to ASP.NET.
|
|
|
|
|
thanks for your solution Muhammad...but then i'll have to pass number of textboxes from javascript to C#
and then access htmltextbox from C#...its a good solution..but bit tiresome
|
|
|
|
|
As they are HTML controls and not server controls you won't be able to access them in the standard fashion but they <b>should</b> be available in the Request.Form collection.
|
|
|
|
|
Hi Friends,
I need to display an image along with text in asp dropdownlist.I code it like that.
<asp:DropDownList ID="DropDownList1" runat="server" Width="200px">
<asp:ListItem Text="<img src='Nature-2.jpg' alt=''/>Sreejith"></asp:ListItem>;
</asp:DropDownList>
But the image willnot display in the text it displays the text i given in the text itself.Please help me to display image along with dropdownlist text in the dropdownlist.
|
|
|
|
|
It won't workout because default drop down list control doesn't support that. The best solution I could think of is to built some custom server control that renders HTML in desired way. Grab and read some tutorial about how to create custom controls.
|
|
|
|
|
SreejithAchutan wrote: <asp:dropdownlist id="DropDownList1" runat="server" width="200px">
<asp:listitem text="<img src='Nature-2.jpg' alt=''/>Sreejith">;
No, this will not work. For this case you have to developed your own custom control.
cheers,
Abhijit
CodeProject MVP
Web Site:abhijitjana.net
When you ask a question, remember to click "Good Answer", If the Answer is helps you.
|
|
|
|
|
Thanks for your kind reply sir.Is there any way to show using a custom control to display image and text but will look like a dropdownlist.
|
|
|
|
|
Look my reply once.It'll help you
Cheers!!
Brij
|
|
|
|
|
|
|
Can any one tell me how to send messages from one client to another client in a chatting application by using sockets or ports
|
|
|
|
|
sam_isolos wrote: Can any one tell me how to send messages from one client to another client in a chatting application by using sockets or ports
So, You need an Windows Based Chat Application. Then why are you asking here. This is ASP.NET Forum.
Have a look
Chat Application in C#[^]
cheers,
Abhijit
CodeProject MVP
Web Site:abhijitjana.net
When you ask a question, remember to click "Good Answer", If the Answer is helps you.
|
|
|
|
|
No i need a web based chatting application
why r u thinking of windows application
|
|
|
|
|
sam_isolos wrote: why r u thinking of windows application
Because You have mention about Ports and Sockets which is related with Windows Application.
ASP.NET is nothing to with Ports and Sockets. You server will be centralized and all client will access the same server.
If you are really searching for ASP.NET Chatting Application, Then also I will revert back to Google only.
asp.net Chat Application[^]
cheers,
Abhijit
CodeProject MVP
Web Site:abhijitjana.net
When you ask a question, remember to click "Good Answer", If the Answer is helps you.
|
|
|
|
|
This sort of application would be similar to any live chat application. When googling try the open source keyword as well hopefully it will bring you some nice stuff.
|
|
|
|
|
i am new to asp.net
dats why i dnt now abut that
anyway thanks
|
|
|
|