How To Show The Results Of A Poll With Graphic
Feb 17, 2010I want to know how to show the results of a poll with graphics using asp.net.
View 4 RepliesI want to know how to show the results of a poll with graphics using asp.net.
View 4 Repliesheavy operation which takes long time to be completed in my asp.net application. I don't want to run the entire operation in one request which may result in a TimeOut error. Instead I want to invoke the operation in a separate thread and poll for the result every x seconds. How can I do this?If the operation gets completed I need to register a script in the ajax postback to hide the loading panel and show the content. However I'm not able to register new scripts and invoke it during ajax postbacks.
View 2 RepliesI want a labet to be visible if there is no records found when search the database.
here is the code and the code behind:
<asp:TextBox
ID="TextBox1"
runat="server"></asp:TextBox><asp:Button
ID="btnSokDB"
runat="server"
Text="Sk"
Height="22px"
OnClick="btnSokDB_Click"
/>
<asp:Label
ID="lblTilbakemeldingSok"
runat="server"
Text="Sket gav null treff. Prv igjen!"
Visible="False"></asp:Label>
[Code]....
I am trying to display a graphic image on the IMAGEMAP1 control on for Form but it's not showing it. Here are the coding:
Protected Sub btnProductImage_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnProductImage.Click
Me.ImageMap1.ImageUrl = "C:InetpubwwwrootASPNet2008 DryCleanerImage.gif"
Me.ImageMap1.ImageAlign = ImageAlign.Middle
End Sub
We are evaluating ASP.NET MVC for use now or in the future and one comment was that views are not graphic-designer-friendly.
Are there any plans to substitute Html helper extensions code with something similar to the ASP.NET markup in webforms? I know there are alternative view engines, but I'm just looking for something simple like <%= Html.ActionLink("controller, "action")
%> with something like <asp:LinkButton controller="somectrl" action="someactn"/>.
I could probably create controls to wrap helper extensions, but just wondering if it's already in the works.
I have a gridview on a page with search boxes at the top.
The wildcard for these is % so in every serach box I set the default to be % so that when the page loads all records are shown and then they can be narrowed down by what you search for but when the page opens the gridview does not show all results.
Here is my code:
<%@ Page language="C#" masterpagefile="MainContent.master" title="Electrical Storage" EnableEventValidation="false" %>
<asp:Content id="Content1" runat="server" contentplaceholderid="Content">
<div id="Rightside">
<h2>Search Electrical Storage
[Code].....
I saw on the google when search "code project", some keywords and a text field and a button to search that google has generated for "code project" keyword also for "manchester university" in the same way.
How is it possible to show key words and text field/button for our website on google? As it shows for "code project" and "manchester university" etc.
visit google and search "manchester university" u'll see:
StudentNet Job Opportunities
PostGraduate StaffNet
etc..
and
textfield/ and a button
I want this kind of result for my site from Google!!
I want to post on face book page using Graph API.The code will be in Asp.Net with c#.Just need to know how can i post to face book page(not account).I am able to send into account,now want to post in page.I refereed this link Graph API
View 1 RepliesI have the following line on my aspx page..
[Code]....
My issue is, that i only need this to display when my datalist is displayed and has records.. every time else, it needs to be hidden ( Visible = false ) on page_load i have it set to
btnAddVideo.Visible = false;
btnAddVidCart.Visible = false;
Should i only be check then within my dropdown event? By default the page is displaying my datalist, so it should be hidden.. then you have a dropdown to make a selection, if you change it, then it should show ONLY if there are records to be displayed.
I'm using RaphaelJS. The browser renders a chart for me (which is in VML as all my users are on IE). I want the user to be able to save this image and share it normally eg paste into an email, into powerpoint, into a document etc etc.
Problem is not many things can render VML. I can easily get the VML markup describing the image back to the server. All I want to do is convert it to some kind of more universal format eg PNG, BMP, GIFF, whatever which I can then allow the user to download. I've seen lots of people struggling with this. I would have thought the seeing as VML is Microsoft's proprietary SVG format they might have at least provided facilities within their own languages (C#,VB.net) to convert VML to bitmaps. (Incidentally I can't use PHP - I've seen a lot of people attempting to solve this with a PHP based solution)
am querying an Oracle database thru an ASP.NET web page, but the other day, the webpage didn't show any results after 5 minutes which normally takes about 3 secs. Then, 3 hours after, I got an email from the IT Dept asking me to kill my task which was taking a lot of ressources, but I couldn't since there is no way to send a user cancel request as I can do for instance with SQL Naviguator. So, they had to kill it for me. However, I do't want it to happen again because I don't want to overload the servers because of a query that didn't execute properly.
So, I thought about including connection timeout into my connection string, but there is already a default value. So, is it possible to avoid that kind of situation?My code contains a try {} finally {} to trap errors, but I didn't seem to work in this case.
I am really stumped on this. I have IIS setup on my local box, and a virtual directory pointed to the folder MapBuilder. IUSR and IWAM have been given full access. When I run this through web developer, everything works great. When I access it through IIS, the following error is generated:
[Code]....
The line of code that generates the error is:
[Code]....
If I change the code to use a virtual directory I get the same basic error on the Overview.Save call:
[Code]....
I have been trying to make this work for a while, but I have not been yet able to figure this put. I am using VS 2008 and mysql database. I wrote a query and checked to see if it works in database. It does.
I have a gridview, whose select command is that query. But for some reason, I just get all the rows from one table only. I rechecked my datasource and it is ok. I read on some discussions that it is NOT possible to have data from two tables in a gridview. Is that true? If that is not true, how can I have data from multiple tables in a gridview? Or any other web control for that matter.
Could you elborate how to save it in DB? Because all the users are unauthenticated
View 1 RepliesHow can I do to create a poll without database.
View 1 RepliesMy Web App is news application,with each news enabled to insert poll system to evaluate good or bad ...anything.
View 4 RepliesHere's what I am trying to do. I have a website that lets users submit requests that are queued up in a Jobs table that the service picks up and processes. I have a status column in the table that denotes whether the request is queued up for processing or being currenty processed by the service or the service has completed processing the request. The entire process takes a few minutes.I have a Status ASP.NET page in which I will need to show the current status of their request on a real time basis. I want to display some kind of animation and denote the current status. One way I could do this is to have a meta http refresh every x seconds that checks the status of the request (I guess this is how sites such as Expedia, Priceline does it?) would like to prevent a complete page refresh is possible and looking for a AJAX/JQuery solution. How would I implement this? Is polling the correct approach?
View 4 RepliesI want to implement poll in my website and its a public available website so any one can vote. I want to know which might be the best option for creating poll. In my opinion there is only cookies in which i can store information and check if this user has submit a poll. My website is multi-lingual and im using Asp.net-mvc 2
View 2 RepliesNow i'm developing a poll system which enable change dynamic layout , independance coder and designer.
View 1 RepliesI inherited some C# code behind that queries a database table and need to add something that displays a "No results" message (using a Label web control, perhaps) if the query doesn't return any records. I'm just learning C# but am coming up short on how to do this. Would anyone be kind enough to point me to an example, or demonstrate? Here's the code I inherited (the programmer who wrote this is no longer available). This is the code behind from the search results page:
[Code]....
Frameworks like Node.js, Tornado, and Twisted let developers create server-push applications that supports large number of concurrent hanging requests (10k+). From what I understand, they all achieve this by not creating threads to service each hanging request.
Can AsyncController be used to service large number of inactive concurrent requests?If so, are there any reasonably large ASP.NET MVC websites using this approach to create long-poll applications?
The problem is that i have a search page. Access Database holding the information. I have a Access Datasource on the page with a Datalist to show the data. I need to find a way on setting it up to says "Sorry no results found" when the is no results. i am unsure on how to do this though.
Below is my datasource and datalist
[Code]....
I've a poll website with few tables :
poll
poll_question (id_poll, question, type_question ...)
poll_answer (id_poll_ans, id_poll, ans1...default)
type_question (id_type, type) type is dateValue, dropdownlist, checkbox or value)
If question have several answer like (yes, no.... or value in a dropdownlist then i will have to get this value from poll_answer)
So my question is ... how can i do to introduc this datas and dynamicly load the good kind of control, (dropdown or textBox or checkbox...)
In VS2010, when I "find in files", I often get doubled results in my find window.
View 5 RepliesI have a textbox1 and button1 and panel1 (which is used as a popup control)
i want if textbox1.text="show" then modalpopup control whose id is panel1 will be visible on buttonclick event other wise .... modal popup control panel1 will not be shown ...
how to do this ? using vb.net ?