|
First, replace all of your
<asp:... tags with equivalent html tags.
Then use some other framework or plain CGI to handle your server-side submits.
If you form does no postbacks to submit data, then you can do away with the form and just present static HTML pages.
|
|
|
|
|
|
how do I create a pop up window in ASPX.CS?
For situations out of my control. The pop up window, is the fastest way I can debug the app I have online.
I tried this:
Help.ShowPopup(this, "Testing ...", new Point(100, 100));
and it threw an error. I believe it was a "500 Error". What am I doing wrong? Since I am unable to comple and step through the code, it is difficult to find out and it ie especially complicatated because the vehicle i intent do tuse to debug is what is crashnig.
|
|
|
|
|
When you say popup i assume you mean a message box or an alert, well there is actually no way you can do that from the server(Unless you call the script from the server) side, the only way is for you to use javascript.
I would advise you use jquery than the regular javascript alert.
And also the popup won't work if javascript is disabled in the browser so if it's just messages you want to display i would advise you use labels.
|
|
|
|
|
you cannot create a popup window directly in the aspx.cs file, unless you use the "ClientScript" register the "javascript" code.
|
|
|
|
|
Hello All,
How we can get complete data form Data base in VB.net also i want to insert our database in my email but not as a attachment. Please let me know?
Thanks in Advance.
|
|
|
|
|
David Kroj wrote: How we can get complete data form Data base in VB.net Use the SELECT command to read all data from each table.
David Kroj wrote: i want to insert our database in my email but not as a attachment. Sorry, that makes no sense.
Use the best guess
|
|
|
|
|
You can try to generate the script of your DB along wid data ... I hope that could fulfill your need.
|
|
|
|
|
1. You are responding to the wrong person.
2. Your suggestion does not make a lot of sense.
Use the best guess
|
|
|
|
|
|
I mean: why are you responding to me, and how does your response answer the original question?
Use the best guess
|
|
|
|
|
So this is the only reason to downvote that??? WOW....
I just answered as per my understanding of the question... and if it is not fine than you should clear me by guiding.. not by doing this.. anyway thanks for welcoming me over this forum as being the Senior....
|
|
|
|
|
Sorry, but I have no idea what you are talking about. Your answer provided no information, and you posted it to me, not the person who asked the question.
Use the best guess
|
|
|
|
|
Don't fight here Thanks for reply Mr. Khan @ Richard: I don't get what did you say.
|
|
|
|
|
See my original response; your question is not very clear.
Use the best guess
|
|
|
|
|
Please be more clear, you want to return all the data from your database and put it in an email but not as an attachment?
|
|
|
|
|
Thanks for reply. I want to get my complete data in my excel format sorry for interrupt i am not developer but i am helping to someone who having this problem.
|
|
|
|
|
Sorry, can't help, i still do not understand your question.
|
|
|
|
|
Hi,
I have a list of Longitude & Latitude in my oracle db. Is it feasible to spot these longs & lats on a .jpeg map without using any online APIs? I need to do it totally offline.
Regards.
|
|
|
|
|
Yes, it's possible but requires quite a lot of mathematics. you need to know the co-ordinates of the start point on your map, so that you can calculate the offset of each point. Then, in order to plot the points you need to convert those offsets to pixel offsets by scaling to the size of the image.
Use the best guess
|
|
|
|
|
Dear Richard,
Thanks for your reply. Would you please explain more. You mean i need to know the maximum & minimum longitude & latitude of the map that i'm working on. Then convert them all to pixels?
Appreciate your help.
|
|
|
|
|
hmasarra wrote: You mean i need to know the maximum & minimum longitude & latitude of the map that i'm working on. Then convert them all to pixels? Exactly so. Given the co-ordinates of the corners of your map, and the size in pixels, you can scale from lat and long to point. The chances are that Google would find you some sample code that will do it for you.
Use the best guess
|
|
|
|
|
I have this child action in a controller
[ChildActionOnly]
public ActionResult GetImage(int id)
{
var photo = _Db.Photozs.Single(p => p.PhotozId == id);
string path = Server.MapPath("~/Photo"+photo.Url);
fs = new FileStream(path, FileMode.Open);
return new FileStreamResult(fs, photo.ContentType);
}
My razor view is :
@model IEnumerable<okay.models.photoz>
@{
ViewBag.Title = "Index";
}
@foreach (var item in Model)
{
}
The problem I'm having is that when I remove d ChildActionOnlyAttribute from GetImage action the image renders in the view but when I add it it does not. I want this action to b child so it cannot be invoked directly by the user. Thanks
|
|
|
|
|
Hello there,
Does anyone have an idea how can i use href link, that can redirect me to selected index of my MultiView.
I'm very grateful if anybody can give me a solution to my problem.
thx
|
|
|
|
|
Pass ActiviewIndex in query string. is this not working?
Parwej Ahamad
|
|
|
|