Design A Website / Move The Image Around And It Sets The Coordinates?
Jan 18, 2010
I am trying to design a website in asp.net (just learning) and am having trouble positioning div's on the .aspx page.
I normally design in dreamweaver where you can move the div around freely and it sets the x and y coordinates for you but I am having trouble positioning an image.
Do you have to type the x and y coordinates in yourself in the code behind or in the css or is there an easier way where you can freely move the image around and it sets the coordinates.
I have a specific requirement of extracting text and images from a specific area in a pdf file.The area might be a selected or highlighted or from a given set of coordinates.
When i went through, all the approaches are to extract images and text entirely from the PDF on not in a specified location. I tried with iTextSharp,Syncfussion,Apose but couldn figure out a better approach for this.
I have an ImageButton which sometimes returns the wrong coordinates when clicked. So far I have seen this problems only on one particular computer but on that system it is consistently out by a factor of about 1.25. The dimensions of the ImageButton are 300 x 450 but clicking in the lower left corner returns 374,562. However, if I raise a button click through code the correct region of the button is accessed and the correct coordinates can be recovered. The browser is IE running under XP SP3. On other computers with the same browser and operating system there is no problem but I don't know how widespread the problem could be. It is not affected by altering the screen resolution. Has anyone encountered this before? Is there a way to test and calibrate an imagebutton (without asking the user to click somewhere special first)?
The website I am working on has a section where users can search for content they have digitally subscribed to. way to cross-check both data sets, the first being content that matches the search criteria, the second being the content the user has subscribed to. What's making this is a mess is how the data is structured. Here is an example...
We store all of our content in a "Content" table in our database. A piece of content, a "journal", for example, and all of its child records (volumes, issues, and articles) are all stored as records in the "Content" table, each with a ParentId of its corresponding parent record. So, A journal can have n volumes. Each volume can have n issues. Each issue can have n articles. A user can have a subscription to any of these, which would implicitly give them access to all child records. For example, if a user was subscribed to a journal, they would have access to all of its volumes, issues, and articles. If the user was subscribed to an issue, they would have access to all of its articles, but not the parent volume or journal.
Some users own over 30,000 records, and we have over 100,000 content records in the database. The Content table has relationships with several other tables that are used for the search. This leaves me with an expensive query to find what the user has access to, and another expensive query to search through all of the records to find search criteria matches. Some of our searches take 20-30 seconds and I would like to speed it up to a max of 5sec per search.
I tried running a query to get the ContentIds of everything the user owned when they first visited the search page, and then caching it to eliminate further database hits, but when I passed the list of ints into the query via a linq .Contains statement, I hit the SQL parameter limit of 2100, since apparently .Contains() splits them all out.
In VS 2005 I could change the layout appropriately, to move controls in a web form in design mode, to a place where I intend to. But in VS 2008 , I don't see such an option. My controls are stuck in places of their own and I am unable to move them to the intended locations. Googling suggested to use Tools -> option -> HTMLDesigner -> CSS. But not sure that is the correct route.
see this [URL]The double headed white arrows is my illustration of how I did this I have a bunch of labels from the left, then I need a measured space to the right hand side. All I could do was this
<a href="http://www.twitter.com/xxxxxxxxx"><img src="http://twitter-badges.s3.amazonaws.com/twitter-b.png" style="border:solid 0px white;" alt="Follow xxxxxxx on Twitter"/></a>
Is there a better way to have the twitter image parked always on the right hand side after menu labels.??
I am working on some document management system, in that user need to do comments on the image, i have div tag with textbox control, i want that div tag like mobavle. Also, they want to do singing / stamping over the image.i am planing use draggable div tag with image control.is it possible to move the div accross the image?if scroll bar(vertical & horizontal) comes what will happen? how to get the dragged co-ordinates after the drag?
I guess the title gives most of my question away, I have a university project in which I must design and create a website in php or asp.net I have chosen the asp.net path since I am pretty familiar in php and I prefer C# to php.. Could someone please reference some good online places to visit to do some further learning, and recommend some books
So i am using visual studio 2008, asp.net 3.5, with the basic toolkit provided. Now i have made the gui which a lot of functionality but the design is very basic. nd looks too old. I need to give it a new look, a new feeling new designs. like the gridview, the buttons the textboxes, the menus look basic. this is not working for me. let me how should i go about doing this?
1) i have herd about tool kits but dont kno which ones are good..(dont want the really expensive ones) but if it is really good my company is ready to spend.
2) will the new VS 2010 or asp.net 4.0 make a difference.
3) The ajax toolkit or silverlight toolkit is any good?
4) i also need to show Charts and graphs now, currently using MS charts.. but now i need which is good.
i want to manage all the design of my website(asp.net) through my css. my client requirement is he should be able to change all design of website within 4-5 hrs.
1) I have images (.png) with transparen backgrounde,which is draw by my designer suppose name of image is Col1.png 2) I also have few images with fabric design. suppose name is fabric1.jpg/png 3) Now i want to create new image with same design as Col1.png with fabric1.jpg/png design.
i want to get data from database of field Name and Gender, and then display it in Label name and gender. when i click save it move to next record and display name and gender that next record.
I wanna to ask the following question about the design of any web application.
when maximizing ,, minimizing , zooming the browser ,, i note many problems happen to my web application design for example the horizontal menu like the one exists in SO site when minimizing the window the items of the menu in my website go down the other .. and other things make the site sucks and distracts the design .. how to make the design more flexible with the changes in monitor size , the preferences of the browser , maximizing ,and minimizing the browser ,, how to make the site design more flexiable about all those issues .
Using template below in asp.net for demo : Â [URL] .... but don't know how to start ... small example like to show with repeater, grid or datalist .. but that grid, repeater, or list must be responsive...Â
or How to bind that using query or sql data source..
I wish to learn to develop web sites with asp.net 3.5 Does anyone know of any good books or website tutorials that could teach me how to develop creative web sites? When I mean creative, i mean master page examples and use of tables etc etc.
I have an web based application. The content for the Home page has been currently mentioned in the HTML code for the Home page using , and tags. To change the content anytime in future, it needs to be changed in the HTML code.
Is there a way that we can pick up the content from some external place and get it reflected through the website. This ways, any change if required can be made at the external location without referring to the application's code.
I'm currently messing around in Access to develop a website, or I should say - develop the initial workings of a database system in an environment that I am familiar with. As the .Net environment is the one I am most familiar with for developing, deploying the Access database into the more full-fledged SQL Server environment is a natural step. Now comes the part with ASP.Net that I'm not so familiar with - reconciliating differences between how I am coding and designing my database with the default website project that ASP.Net provides for a basic multi-user website, from which I've noticed is a lot more thorough than any solution I could code up within a reasonable time-frame.
However, this comes at a cost. I have no inkling on how user data is stored within this environment or how to extend it within my own needs. I can make sample data up the wazoo on my laptop, but if I have no idea how to incorporate with a pre-existing framework, it is worthless to me. The reason why I have not considered this until now is the data I have been working on doesn't pertain to the users in a direct fashion. Anyone have experience designing websites that use ASP.Net and maintain user access? What problems, issues, and design considerations might I need to concern myself when developing a multi-user website with ASP.Net in addition to my data?
We have an already existing project on IIS and we want to move to Apache (windows) with mod_aspdotnet. What things could not work? If we use 3rd party DLLs? Will office components work fine (export to Excel, Word, etc). If you have any experience on this type of migration, I'd like your inputs! Also, is there another alternative to mod_aspdotnet?
I want to learn a user's location from his mobile device by web application.
When user opens the website, with the help of a script we will learn if the device has a gps hardware.And if the device has gps hardware what are the current coordinates?