How To Create Poll In System
May 25, 2010My Web App is news application,with each news enabled to insert poll system to evaluate good or bad ...anything.
View 4 RepliesMy Web App is news application,with each news enabled to insert poll system to evaluate good or bad ...anything.
View 4 RepliesNow i'm developing a poll system which enable change dynamic layout , independance coder and designer.
View 1 RepliesHow can I do to create a poll without database.
View 1 RepliesCould you elborate how to save it in DB? Because all the users are unauthenticated
View 1 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 RepliesI want to know how to show the results of a poll with graphics using asp.net.
View 4 RepliesFrameworks 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?
heavy 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'm creating a xml file using System.Xml....so first i've got so far...
XmlDocument xmldoc = new XmlDocument();
XmlNode docNode = xmldoc.CreateXmlDeclaration("1.0", "UTF-8", null);
xmldoc.AppendChild(docNode);
XmlNode Doc = xmldoc.CreateDocumentType("html", "-//W3C//DTD XHTML 1.1//EN", "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd", null);
xmldoc.AppendChild(Doc);
//XmlNode htmlNode = htmlNode.;
XmlNode xmlRoot, xmlNode;
xmlRoot = xmldoc.CreateElement("head");
xmldoc.AppendChild(xmlRoot);
xmlNode = xmldoc.CreateElement("Child");
xmlRoot.AppendChild(xmlNode);
xmlNode.InnerText = "This is the first Child";
[code]...
Im building a CMS (ASP.NET C#) and I am currently looking at how to implement a module system. How is it done with most modularized systems on the web? The most important thing is that I dont want the modules messing with any of the core files. Example of a case:I have an ajax search method that is using a webservice method named Search; how can a module "add" its search results to the result list? If the core search only searches webpages and I want the search to also search products in the e-commerce module, how can it add the product search, and its contents, to the original search method's return list? Is that even possible?
Ive been looking at reflection a little bit, and it seems to be useful with running module code from within the core, is that correct?I have no experience with this kind of stuff, so a push in the right direction,
my website is developed using asp.net, vb.net and sql server 2005.Now i want to develop a polling system, using vb.net or XML.and the polling sytem must have feature which is one person from one computer can only vote once per day. isitors of my site will not vote more than once per day.so can u redirect me to a site where i can get a steps to build this voting sytem or a source code to be downloaded freely?
View 4 Replieshow this is achievable, not so much in the "build the whole project" as to how the reservation website gets quotes for all the flights from all the flight companies. I assume that in the website's code you have to use a webservice which will quote say website A, and get its ticket prices.
View 2 RepliesAmazon has a star rating system. Other sites use smiley faces that change color when you mouse over them. Does anyone know of an API I can get or a simple way to put this together?
This is an ASP.NET 2010 app.
I wanted to create a custom class that inherits from System.Exception and adds a few properties and methods specific to the project.
The issue I'm seeing is that a standard try/catch block catches generic Exception class and the compiler thinks that converting that to my custom class is OK. However, at runtime if the actual error is something else like a a System.Net.WebException for instance, then at runtime it will not convert to my custom class. Then my own error catch throws an InvalidCastException.
Obviously the one thing I don't want to happen is to have my error logging methods throw errors on their own...
So, how can I convert ANY exception to something that my custom class can use?
Here's a code example:
Csharp Code:
[code]....
Now, this code builds just fine... VS2008 and VS2010 have no issue with converting an "Exception" to "MyErrorClass", but at runtime it certainly doesn't like converting a "WebException" to "MyErrorClass"...
I want to create new Asp.Net_SessionId whenever user LoggedIn to my system. How can i create it and if i cannot create it then what may be the approach to update Asp.Net_SessionId value, I means should i save Guid.NewGuid() in Asp.Net_SessionId to create a new value of Asp.Net_SessionId
View 2 RepliesASP.Net 2005
I am a new bie to work with ASP.net. I want to create an application /site in asp.net which work like content management system. As we see many sites are now a days being build on JOOMLA. How can we create such a CMS (content management system) sites using ASP.NET.
How can I create generic class from System.Web.Mvc.ViewPage?
View 1 RepliesI am trying to create a simple menu system using repeaters. In the system I want to use a different formatting for class sub items and am trying to use an If that checks the DataBinders results and branches if its "Classes" but when I compile the code is says:
Name "Container" not declared.
On all the tutorials online and MSDN the Container.DataItem is just assumed to work so i can't find any information on it not working. Can anyone who uses databinders more than me explain this?
<asp:Repeater ID="TopNavRepeat" runat="server" DataSourceID="SqlDataSource1" >
<HeaderTemplate>
<ul id="nav">
</HeaderTemplate>
<ItemTemplate>
<li>
<asp:HiddenField ID="LinkIdField1" Value='<%# Eval("id") %>' runat="server"
OnDataBinding="LinkIdField_ValueChanged" OnValueChanged="LinkIdField_ValueChanged"/>
<asp:HyperLink ID="HyperLink1" runat="server" Text='<%# Eval("Title") %>' NavigateUrl='<%# Eval("Url") %>'
ToolTip='<%# Eval("Description") %>'>
</asp:HyperLink>
<ul>
<!-- -->
<% If (CStr(DataBinder.Eval(Container.DataItem, "Title")) = "Classes")THEN %>
<asp:Repeater ID="ClassDownList" runat="server" DataSourceID="ClassDS">
<HeaderTemplate></HeaderTemplate>
<ItemTemplate>
<li><asp:HyperLink ID="HyperLink1" runat="server" Text='<%# Eval("name") %>' NavigateUrl='<%# "/Class/" & helpers.urlSafe(CStr(Eval("name"))) %>'
ToolTip='<%# CStr(Eval("name")) & " home page" %>' /></li>
</ItemTemplate>
<FooterTemplate></FooterTemplate>
</asp:Repeater>
<% Else %>
<asp:Repeater ID="DropDownList" runat="server" OnLoad="ChildDataList_Init">
<HeaderTemplate></HeaderTemplate>
<ItemTemplate>
<li><asp:HyperLink ID="HyperLink1" runat="server" Text='<%# Eval("Title") %>' NavigateUrl='<%# Eval("Url") %>'
ToolTip='<%# Eval("Description") %>' /></li>
</ItemTemplate>
<FooterTemplate></FooterTemplate>
</asp:Repeater>
<%End If %>
</ul>
</li>
</ItemTemplate>
<FooterTemplate>
</ul>
</FooterTemplate>
</asp:Repeater>
Anyone know how to create a threaded / nested comment system? I would like to learn how to do this for my blog that I am working on. I simply can't find anything useful out there.
View 3 RepliesI have tried using asp.net createuserwizard and login control.But i m not able to customized them according to my liking.so i created my own user registration webform and login control with the records getting stored in sql database.I dont know whether its a correct way of using asp.net..but its working.Now I am creating a online attendace system which lets user to enter username, logged in and logged out time of each day in thedatabase .The problem is that my user logins in the morning and closes the website and again logins in the evening and exitsthe website.So how to perform this task since i am using a same login form to enter both login time and logout time?Is this possible?my table has colums id,username,logintime,logout timeThe thing is I am using a login from created earlier to enter the username,logindateandtime,logoutdateandtime fields in the databasein which logintime and logouttime gets values from system.
View 33 RepliesI want to create a comment system for users to comment on my Photos of Photo Galleries and videos in my Website. How i will create it using ASP.Net,C#,SQL Server?
View 1 RepliesI'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...)
i have winxp sp3 I have been using windows Install cleanup on vs2008 because I couldnt load setup on vs2008.
Now I find I can run setup but I create create asp.net web pages . I click new webiste and get this error 'project system components not installed' on vs2008 this didnt do a thing i still have the same problem
* Go To : start | Run
Type the command mentioned below
* devenv /resetskippkgs
nope didnt work at all
before this happened i iuninstalled vs2008 express editions as I have vs2008 prof, I installed sql server 2008 express
I am a first time user of Microsoft Visual Web Developer. I am using it to create a Store and Inventory Management System. The app has four types of users - Administrator, Sales Person, Inventory Manager, Sales Manager. I have created four roles for the above user types and created folders under the root directory accessible only to each of these four roles. Now, an Admin should be able to create or delete the other three types of users. I have created a CreateAccount.aspx page under the admin folder using ASP.net Login controls. But in order to reach that page an user has already has to be logged in as Admin, so the CreateUserWizard control is not working. Could anyone tell me how to structure my app, so that the admin is able to add or remove other user accounts?
View 6 Replies