Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~31.1K People Reached
Favorite Tags
Member Avatar for MrCapuchino

Hello, I'm writting a program to create a "Snake Game" in C#. What I want to do, is to constantly call the FOrm Paint Event Method to draw the snake and fruits in the form. I added a Timer that will call the Paint Event Method every 100ms. The thing …

Member Avatar for ddanbe
0
1K
Member Avatar for MrCapuchino

Hi I have a Select element in my page, It looks like this [CODE] <select name="test"> <option value="1">Hi</option> <option value="2">Hello</option> <option value="3">GoodBye</option> </select> [/CODE] Ok, don't mind the syntax or if I missed something, everything works fine, the problem is that I want to get the selected option value from …

Member Avatar for vinay.yash.3
0
6K
Member Avatar for MrCapuchino

Hello, I have a really weird problem. I have a web application written in asp.net and it works perfectly locally, the problem appears when I deploy it to my remote server. Everything works fine except for a button, it updates information in a database. The thing is that the problem …

Member Avatar for JorgeM
0
214
Member Avatar for MrCapuchino

Hello, Something really weird started happening in my web application. I have some buttons defined in a Master Page File and then I have a lot of pages that derive from this Master Page file. One of the buttons (In the master page file) closes the user session. This means …

Member Avatar for MrCapuchino
0
239
Member Avatar for MrCapuchino

Hello, I haven't found a solution to this problem but I think it has to be something very simple. I have an asp:Textbox in my page that fills with text from a database on page_load, this works fine, the thing is that if I change the text and click in …

Member Avatar for MrCapuchino
0
300
Member Avatar for MrCapuchino

Hi, I want to implement a voting system in my web page. What I want to do is give a user 1 point per day so they can give that point to other users but after they give their point they have to wait until the next day to have …

Member Avatar for MrCapuchino
0
106
Member Avatar for MrCapuchino

Hello, I have a dropdownlist populated with a datasource control, but I want to add an option to the dropdownlist client side that appears on top of all the databinded options. Right now I can do it but it appears at the bottom, how can I tell the new option …

0
76
Member Avatar for MrCapuchino

Hi, I have an asp.net page which loads through ajax results from a query to a database, when te page loads it actually does this through jquery, so basically the page loads and then through jquery I go to the database get some results and fill a div with them. …

Member Avatar for MrCapuchino
0
277
Member Avatar for MrCapuchino

Hello, I cannot find the problem with my code to be able to populate a dropdownlist based upon a previous dropdownlist selection. Here is all the necessary code HTML [CODE] <div class="control"> <asp:DropDownList ID="ddlEstado" CssClass="ui-state-default ui-corner-all filterDropDown" runat="server" DataSourceID="sdsEstadoDDL" DataTextField="nombre" DataValueField="nombre"> </asp:DropDownList> <asp:SqlDataSource ID="sdsEstadoDDL" runat="server" ConnectionString="<%$ ConnectionStrings:QMPConnectionString %>" SelectCommand="EXEC Catalogs.sp_ObtenerEstado"></asp:SqlDataSource> …

Member Avatar for MrCapuchino
0
150
Member Avatar for MrCapuchino

Hello, I'm developing a Web Form based Web Page, still I'm using an Http Handler to do some ajax interaction in my page. The problem is that I have to keep my httpHandler class in the root directory in order to be able to use it in my javascript code. …

0
131
Member Avatar for MrCapuchino

I'm trying to use a plugin for paging from jquery, the thing is that the demo is not very clear, at least for me that I'm not very familiar with jquery and httphandlers. Here is the javascript code. [CODE] $(function () { var a = 10; var b = 10; …

Member Avatar for MrCapuchino
0
233
Member Avatar for MrCapuchino

Hi, I'm not able to toggle a ui class in my page. Basically here is my code: in the jquery document.ready I subscribe to the event $("#bBuscar").hover(changeButtonBackColor, normalizeButtonBackColor); then the other two funtions are like this: function changeButtonBackColor(evt) { $("#bBuscar").toggleClass("ui-state-hover ui-corner-all"); } function normalizeButtonBackColor(evt) { $("#bBuscar").toggleClass("ui-state-hover ui-corner-all"); } the button …

Member Avatar for MrCapuchino
0
1K
Member Avatar for MrCapuchino

Hello, I have an application where I save an image to a database in a column of type VARBINARY(1024) I used 1024 because I think is the number of bytes and I want to handle images no larger than 1MB. I have my code to save the image and it …

Member Avatar for MrCapuchino
0
2K
Member Avatar for MrCapuchino

Hello, I'm writing a web application where I want the user to be able to configure settings of the web page. So lets say, I want to store several settings of how he can visualize the page,for instance in Facebook I can save which people can access my profile, which …

0
65
Member Avatar for MrCapuchino

Hello, I developed a WEB site in ASP.NET, everything works fine but I have found that if I enter the site through a BlackBerry the Link Buttons cannot be clicked. They are rendered but cannot be clicked, normal buttons can be clicked though, I check the BB browser and the …

0
59
Member Avatar for MrCapuchino

I have two buttons in an asp.net web page, this buttons are the asp.net control buttons and are not a part of a form, basically I just modify the on click event in the code behind page, the thing is that when I hit enter one buttons is pressed but …

Member Avatar for aspproject
0
83
Member Avatar for MrCapuchino

Hello, I have a xsl file Here I have the HTML code to display a webpage, inside i have a table that fills the rows with data from an XML file. I created a link that has the href attribute filled with data from an element in the XML file. …

Member Avatar for MrCapuchino
0
127
Member Avatar for MrCapuchino

Hi, I have a problem, when I test my XSL file from Dreamweaver it opens and transforms the XML document into a temporal HTML file. But if I create a Hyperlink in another web page that links to the file.xls it does not transforms the XML document it just shows …

Member Avatar for MrCapuchino
0
147
Member Avatar for MrCapuchino

Hello, I have two Javascript functions to set and retrieve a cookie: [code] function setCookie(name,value,days) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; document.cookie = name+"="+value+expires+"; path=/"; } function getCookie(name) { var nameEQ = name + "="; …

Member Avatar for MrCapuchino
0
11K
Member Avatar for MrCapuchino

Hello, I'm kind of new with JSP and I'm developing an school project. So far I have my web application configured to work with a database. Now I have a form that receives a user and a password, then when the user clicks enter, it calls a servlet which checks …

Member Avatar for masijade
0
127
Member Avatar for MrCapuchino

Hello, I have a .jsp file linked with a css file, normally I will put resize:none; to the textarea in my form to stop chrome or safari putting a resize handle on it. The thing is I cannot get it to work I don't know if it is because I'm …

Member Avatar for MrCapuchino
0
136
Member Avatar for MrCapuchino

Hello, I'm developing a jsp web site, I'm creating a form to register school projects, the thing is that the projects can have many students in them and I want to keep the information of all of them, so basically I want the user to tell me how many students …

Member Avatar for MrCapuchino
0
126
Member Avatar for MrCapuchino

Hello I have two files test.aspx test.aspx.cs I have some Drop Down Lists and Textboxes but if I want to use them the .cs file does not recognize there are those elements in the aspx file. For instance, in the page load event I want to get the text from …

Member Avatar for MrCapuchino
0
130
Member Avatar for MrCapuchino

Hello I have created a Regex to remove invalid characters in a string: Here it is: [CODE] Regex replace_invalid_caracters = new Regex(@"[\\|/|*|+|-|%|=|^|@|#|$|!|~|`|?|<|>|:|(|)|{|}|;|,|_|]"); [/CODE] The thing is that then I use it in a method to remove this invalid characters. It manages to remove all invalid characters except for "-". I …

Member Avatar for MrCapuchino
0
144
Member Avatar for MrCapuchino

Hi, I'm trying to trim certain caracters from a string but it is not working. Here is my code: [CODE] string sMystring = "what you waiting for? "; char[] cInvalid = { '\', '-', '/', '*', '?', '<', '>', '|'}; sMystring = sMystring.Trim(cInvalid); [/CODE] I realized that if I remove …

Member Avatar for MrCapuchino
0
222
Member Avatar for MrCapuchino

Ok, I finally finish my application. It has a textfile in the resources folder of the solution that the application constantly accesses. My question is: I want to build an exe for my application that I can run in any computer. I want to apply an icon to this .exe …

Member Avatar for Momerath
0
121
Member Avatar for MrCapuchino

Hi, I have a rectangle inside another rectangle, how can I make to do like an IntersectWith method but just the outer rectangle Border? Since one rectangle is inside the other it seems like it is always intersecting so I want to know how to tell the inner rectangle to …

Member Avatar for Rynkadink
0
137
Member Avatar for MrCapuchino

Hello, I've been searching for a library that comes with the necessary classes to manipulate id3 tags of mp3. I think there is a popular one called TagLib# but I don't know how to download it and implement it in Visual Studio 2010. I end up in the Novell site …

Member Avatar for Momerath
0
86
Member Avatar for MrCapuchino

Hello, this is an odd problem, I have a method that goes through a list (in a foreach cycle) and writes every string found in the list to a text file, each string in a new line (then a blank line) then the next string. The list contains 106 strings, …

Member Avatar for MrCapuchino
0
1K
Member Avatar for MrCapuchino

Hello, I have a file with a lot of lines and here is what I want to do Here is an example of somelines in the file: PP923823u923729832 92832972323PF PP0923802398203982 2320938209382PF Note that the file sample has 5 lines. I want to be able to tell my program to read …

Member Avatar for MrCapuchino
0
112