|
Hi,
1) If you need the asp.net button only then -
Make sure your Javascript function returns false or write like this
button.OnClientClick = "javascript:function(this); return false;";
2) If you can use a HtmlButton then -
HtmlInputButton somebuttonhtml = new HtmlInputButton();
somehtmlbutton.ID = "somehtmlbutton";
somehtmlbutton.Value = "ContextMenuItem";
somehtmlbutton.Attributes.Add("onclick", "javascript:function(this);")
ValueListPanel.Controls.Add(somehtmlbutton);
I suggest to use HtmlButton as it satisfies your requirement and it is light weight.
Hope this will help.
Thanks,
Padmanabh
|
|
|
|
|
Hi
I have a Server created in windows application and the server wil raise events at particular intervals.. i need help ... i am not sure whether we can track the events raised in the server in my ASp.net Application..My sever wil be firing some events to update the live prices.. Can any one tel me how to capture the evets in asp.net raised from windows application...
|
|
|
|
|
Hi all,
I am developing a website for online land leasing.I have to use online payment facility using paypal.How can I integrate it securly.Or I should use some other option.
Any help is appreciated.
|
|
|
|
|
If you look at the Paypal FAQs it tells you all about it.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
actually I wanted to know whether I should go for paypal or there ia a better way.
|
|
|
|
|
Personally I would offer as many payment options as possible - Paypal, Nochex etc etc
Bob
Ashfield Consultants Ltd
|
|
|
|
|
You mean I should offer as many options as possible to my customers. Ok I'll try for that if i can do it in time limit.
thanks.
|
|
|
|
|
Thats exactly what I mean. If they want to buy, make it as easy as possible.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Hi All,
I want to develop a system where sites can excahnge their links to increase traffic on their sites.If Anyone can Help me????????
modified on Wednesday, November 12, 2008 6:02 AM
|
|
|
|
|
|
1. register the domain
2. Find a host
3. Write your web pages
Enough help?
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Hi
my problem is that on paging in grid view i have to change the page url with grid view page no eg:
asc.aspx?page=1
on grideview page change
url: asc.aspx?page=2
|
|
|
|
|
|
I've got an object:
<object id="Object" style="left: 1px; position: absolute; top: 1px" height="1">
width="1" classid="Classes.dll#Classes.Class1" viewastext>
</object>
How should I refer to this object, to call a method? For example - Object.Method()
|
|
|
|
|
Hi All,
I have a download now button on aspx page, by clicking it need to prompt user to save the file which a movie file at server.
i am using following code....
string path = Server.MapPath("Movie/movie.zip");
System.IO.FileInfo file = new System.IO.FileInfo(path);
if (file.Exists)
{
Response.Clear();
Response.AddHeader("Content-Disposition", "attachment; filename=" + file.Name);
Response.AddHeader("Content-Length", file.Length.ToString());
Response.ContentType = "application/zip";
Response.WriteFile(file.FullName);
Response.End();
}
this code is working fine in local system...but giving problem when i upload it in to my hosting server.
Please help me regrading this.
Pradeep Reddy
|
|
|
|
|
when u load movie on hosting server. which folder store this movie. full security of conrol that folder.
|
|
|
|
|
Hi,
How to make my asp.net 2.0 web application screen resolution independent?
I used 1024 * 768 resolution in my development PC and when i deploy, all vista users are facing problem with the screen resolution. Whole alignment of my project is disturbed.
Please help me...
|
|
|
|
|
mention sizes in percentages instead of mentioning sizes in px
Pradeep Reddy
|
|
|
|
|
Hi,
I checked out this asp.net forum:
http://forums.asp.net/p/969928/1219973.aspx#1219973[^]
However, there are lots of threads in it and as many suggestions on how to implement this. I got to know that overriding the InitializeCulture() won't work with Master Pages cause they do not inherit Page class.
Could anybody share their experience with this matter?
Regards,
blumen
|
|
|
|
|
when i run in webpage two parameters of in text boxes are displayed instead of result can any one please guide me where is problem in my code?? or is there any other way to do it????
ReportDocument reportDocument = new ReportDocument();
ParameterField paramField = new ParameterField();
ParameterFields paramFields = new ParameterFields();
ParameterDiscreteValue paramDiscreteValue = new ParameterDiscreteValue();
reportDocument.Load(Server.MapPath("../Reports/rptAC05.rpt"));
reportDocument.SetDatabaseLogon("sa", "softconsult");
---------------------------------------
paramField.Name = "@dBegDate";
paramDiscreteValue.Value = Request.QueryString["datefrom"];
paramField.CurrentValues.Add(paramDiscreteValue);
paramFields.Add(paramField);
-------------------------------------------
paramField = new ParameterField();
paramDiscreteValue = new ParameterDiscreteValue();
paramField.Name = "@sBranchCode";
paramDiscreteValue.Value = pBranchCode;
paramField.CurrentValues.Add(paramDiscreteValue);
paramFields.Add(paramField);
this.CrystalReportViewer1.ParameterFieldInfo = paramFields;
this.CrystalReportViewer1.ReportSource = reportDocument;
umerumerumer
|
|
|
|
|
hi i want to run the commandprompt form asp.net webapp for the button click event..there i want to run a command ..i wil get this command from asp.net app............how can i do this ?
|
|
|
|
|
beklo.com/rameshgoudd wrote: hi i want to run the commandprompt form asp.net webapp for the button click event
You can start a process which open command prompt, but it will be open in server. Is that what you want ?
|
|
|
|
|
hi..how can i pass the command to commandprompt and how can i execute those programatically
|
|
|
|
|
Is it possible to host .NET applications in MAC O/S?.
|
|
|
|
|
Hi all,
I have migrated my Asp.net1.1 application to Asp.net 3.5(VS 2008)...After migration Crystal reports are not working....
It is giving an error like "Unable to find the report in the manifest resources"....
I searched in Google and i got a solution tht thy have told to open that report in VS 2008 and save it....(while doing this it asked for upgrade and i gave ok)....but still it is the same...
pls somebody help me to solve this issue.....
Thanks in advance....
|
|
|
|