15,909,373 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Phoenix234 (Top 40 by date)
Phoenix234
4-Sep-13 16:58pm
View
this worked perfectly! thanks for the link :)
Phoenix234
4-Sep-13 16:46pm
View
the csv file looks like this
1 , 2 \t 3
it goes in like that and comes out like
1 , 2 \\t 3
I used breakpoints on what was in the file and what came out after the streamreader, it adds the extra \ after it goes through.
Phoenix234
1-Mar-13 16:07pm
View
thank you very much, I was just missing the key words that got me what I was after. I was searching for generic words that brought up results from different platforms :/
Phoenix234
1-Mar-13 12:00pm
View
Oh thats not the issue :P im fine with layouts, its more using listviews from database data anf filling the list rows that I struggle with.
Phoenix234
20-Feb-13 4:24am
View
Oh I apologise, hfProducts was meant to be renamed to hiddenfieldOfProducts.
Its a hiddenfield where I store the data the JSON returns.
Phoenix234
19-Feb-13 10:56am
View
Got it working :) Accepted solution! thanks for the help :D
Phoenix234
19-Feb-13 8:47am
View
So far this has worked great, is there a way I can use the returned value to fill the c# HiddenField using the client Ajax?
then I can call the display function which is already expecting a HiddenField as input and run it like I did before without modifying much of my code.
Phoenix234
19-Feb-13 8:46am
View
*Deleted for repetition*
Phoenix234
19-Feb-13 7:47am
View
does the C# function HAVE to be static? as soon as I changed it to static this line became an error as the hidden field isnt allowed in a static method?
hfMenu.Value = ser.Serialize(Menus);
Phoenix234
19-Feb-13 7:45am
View
Unfortunately the buttons are generated in Javascript and have to be HTML.
Basically I make a list of database items, each item has a "view menu" button which is created when that row is read from another hidden field.
Phoenix234
15-Jan-13 10:09am
View
Thank you very much! everything works perfectly now :)
Accepted
Phoenix234
11-Jan-13 21:47pm
View
this was great to get the data out of the hiddenfield, I've added a loop to go through it but how do I now generate lines of html? like I want the output to be wrapped in a div for every row that comes out s
Phoenix234
11-Jan-13 12:28pm
View
I love your design although I have a few issues I need help on. I combined your code with the code of the solution above. I use the
var data = eval('(' + document.getElementById("<%=hfData.ClientID%>").value + ')');
and then the each from yours but it remakes the data on a blank page when its meant to be inside a list on my main page. I tried to use this code but it only makes the last row of the dataset put in instead of adding a new one.
var newcontent = document.createElement('li');
newcontent.appendChild(document.createTextNode(item.ShopName + "</br> " + item.ShopAddress + " </br></br>" + item.ShopCategory + "</br> Rating: 3 Stars </br></br>"));
Help?
Phoenix234
31-Dec-12 5:14am
View
Then I have no idea what to do, do you have any idea what the other 2 comments mentioned at all? I don't recognise what they were talking about and google didn't explain where I was looking.
Phoenix234
30-Dec-12 15:01pm
View
I own the only compatible computer in my house, suggestions?
would a reinstall work at all? I'm not sure what could set this up wrong, did you look at the other solutions? They haven't replied so I don't know if they will work or not
While I'm here How do I log the exception information?
Phoenix234
30-Dec-12 14:03pm
View
Empty projects give this too. Ive just made one that only has 2 parts, the default Web.config and a pretty much blank html page.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
Hi!
</div>
</form>
</body>
</html>
and the web.config
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<system.web>
<compilation debug="true" targetframework="4.5">
<httpruntime targetframework="4.5">
Theres nothing more to this project and i still get that error. The only thing I can imagine is its an error todo with the program not the projects but I don't have the knowledge to test it.
I searched the entire project for the word "site" which is the parameter it doesn't like and nothing exists.
How do I log the exception information?
Phoenix234
30-Dec-12 13:27pm
View
I mentioned in the question the source won't really help unless I know which part of the source you are after since as I said earlier...
"I've had this error every time I run any website, including the default not changed template and a blank hello world website."
It literally happens in 100% of projects, all new projects and old where the error didn't arise not to mention template projects with not one line of code changed from when I loaded the template.
I found your original comment unnecessary as you could have started by saying " We can't solve it without more code can you attach X"instead it implies I had more to send but didn't want to send it which seems silly. Although I don't see how my reply is bad either as all I said was I felt the comment was inappropriate. Either way this bickering isn't going to get me anywhere so what do you specifically need to be shown? since all projects give the error.
Phoenix234
30-Dec-12 6:13am
View
How do I show you more detail, since I'm having problems with this in the first place and haven't given more detail to start it seems logical to assume I don't know how to provide such detail.
The sarcastic comment seems both rude and inappropriate to be seen on a help website.
Phoenix234
30-Dec-12 6:10am
View
I did a search for "OpenMappedWebConfiguration" and nothing came up, Can you be more descriptive in what I'm exactly doing? Last thing I want is to break it more by making a small mistake.
Not to mention if this is happening on ALL new default projects then does that mean its set up wrong entirely?
Phoenix234
30-Dec-12 6:08am
View
My browser is updated as far as I can tell ( Chrome autoupdates and IE seems to be at the latest version)
How do I configure my web service properly?
Phoenix234
29-Dec-12 18:36pm
View
Ah Yes I see that now, how would I update the timer UI then?
Also while this timer is running I want timer to be created everytime a button lights up and 1 second later the timer get destroyed and the button go back to normal. suggestions on what I should be looking at?
Phoenix234
26-Dec-12 14:04pm
View
I thought I put it in the same class but I will have a look and get back to you.
Is it common for the SDK not to give errors on this kind of thing? It seems like something that usually gets a red line under it
Phoenix234
13-Mar-12 6:19am
View
Its good reading material but wont work for this system.
Also im trying to load 1 level in a grid not the entire list in a tree view
Phoenix234
18-Jan-12 4:13am
View
Fixed it now, the page was basically refreshing itself everytime I hit the button.
Thanks for the help
Phoenix234
17-Jan-12 12:14pm
View
I fixed that last error but now the code doesn't do anything, it hits the alerts fine on both but the 1st runs on page load while the second loads when you hit the button, it hits the alerts but the boxes aren't moveable like the first.
does the page refresh somewhere here due to the button click like a postback?
<script type="text/javascript">
$(document).ready(function () {
$(function MyFunction() {
$("#sortable").sortable();
$("#sortable").disableSelection();
})
});
</script>
and this doesnt
<script type="text/javascript">
$(document).ready(function () {
$('.buttonToSort').click(function () {
alert("test 1");
$("#sortable").sortable();
$("#sortable").disableSelection();
alert("test 2");
})
});
</script>
Phoenix234
17-Jan-12 11:40am
View
I fixed it! We needed to add this to the outside
$(document).ready(function() {
$('.buttonToSort').click(function () {
alert("test click");
$("#sortable").sortable();
$("#sortable").disableSelection();
})
});
but now when it hits the first #sortable I get
"Microsoft JScript runtime error: Object doesn't support property or method 'sortable'"
Phoenix234
17-Jan-12 10:46am
View
Deleted
Accidently deleted! oops
Phoenix234
17-Jan-12 9:23am
View
I just realised we were using the first method, Neither the button.click or the sortable way seem to work
Phoenix234
17-Jan-12 9:17am
View
my code looks like this but still isn't working, I cant see what I missed? I added the tablesorter, created the button with the same class you used and it doesn't even hit the alert. I just added the full release of that download you sent me including all 4 libraries
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.17.custom.min.js"></script>
<script src="js/Sorter/jquery-latest.js" type="text/javascript"></script>
<script src="js/Sorter/jquery.tablesorter.min.js" type="text/javascript"></script>
<script src="js/Sorter/jquery.tablesorter.js" type="text/javascript"></script>
<script src="js/Sorter/jquery.metadata.js" type="text/javascript"></script>
<script type="text/javascript">
$('.buttonToSort').click(function () {
alert("test click");
$("#sortable").sortable();
$("#sortable").disableSelection();
})
</script>
<asp:Panel ID="sortable" runat="server">
<div>
<asp:Button ID="Button1" runat="server" Text="Edit Mode" class="buttonToSort" onclick="Button1_Click" />
</div>
Phoenix234
17-Jan-12 9:02am
View
I added this to the page and tried it but nothing happens.
<script type="text/javascript">
$('Id$="Button1"').click(function () {
$("#sortable").sortable();
$("#sortable").disableSelection();
})
</script>
Is there a way to find out if the button or jquery is the part that didn't work?
Did I miss a step for the button version?
Phoenix234
18-Nov-11 5:11am
View
Ah I see, out of curiosity is this possible?
When I load the treeview control I would check a users group and if that group is set to true for permissions to that folder, if that group doesnt have a true value or any value at all for that folder it defaults to false?
This way instead of needing permissions for all tables for each group they all default to false unless I specifically say that the group has permission. so if 1 group has access to 1 folder out of 5 it only needs 1 permission row instead of 5?
Phoenix234
18-Nov-11 5:10am
View
Deleted
.
Phoenix234
17-Nov-11 8:42am
View
Deleted
deleted
Phoenix234
17-Nov-11 8:33am
View
So when I fill the treeview Id select the username, get the usergroup and run it against the 3rd table? if the usergroup has read access show the folder otherwise skip and move to the next node?
Sounds perfect, Ill attempt to implement it in a bit.
Although why do we need the SetAccessID on the 3rd table? and is it possible to have multiple usergroups on 1 user?
I worry that this method will lead to a huge database, since there will be at least 4 folders for each department and there are 100 buildings as well as folders been limitless potentially.
is there a shorter way of handling it?
Phoenix234
28-Sep-11 8:57am
View
I couldn't find anything on Google, the solutions I saw used a phone plugged into a computer to do it which ruins the point I imagine
Could the "home base" that gets all the messages be a phone connected to a computer with its message list stored on the computer?
I imagine that's the simplest way this would work?
sorry for the late reply.
Phoenix234
6-Sep-11 5:09am
View
I've realised this wont for for the system I'm working on, Basically the treeview is created using code that processes a database table i created, my issue is that until you actually click the treeview it wont highlight where as i want it highlighting by number not click
Phoenix234
5-Sep-11 9:35am
View
Deleted
Thank you very much! ill try this out for my system later :)
Then accept the solution assuming it works fine.
Phoenix234
9-Aug-11 4:41am
View
Simply put I already tried that.
I don't understand his version. he added additional features that I didn't need and also wouldn't know how to remove without causing problems as well as the issues with copy pasting someone else's code.
I need to learn how to make it myself from scratch. Any advise on what to try next?
Hell, Its only the loop I need help with currently anyway, I cant figure how to use a loop to check if the parent is a master folder, the folders that belong to that folder and give them onSelected functionality.
Its not my area, So can someone provide some sort of help or advise for this problem?
Phoenix234
8-Aug-11 10:57am
View
I need advise on how to do it from scratch.
Im struggling to imagine the for loop that sorts each category to be after its parent and display it properly.
Phoenix234
5-Aug-11 7:09am
View
Interesting, Although how would I handle Sub folders? and browse through the folders in the first place?
Say I Clicked folder A then inside folder A is Folder C. How would I show that with a controller?
Show More