15,991,071 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 .NET 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 S@53K^S (Top 88 by date)
S@53K^S
11-Jun-14 10:10am
View
I think there is a slight difference between ctr.Attributes("data-action") and ctr.Attributes("data-"a"ction") an "a" is missing
S@53K^S
8-Apr-13 16:24pm
View
How are you planning to dump all the binary data into a richtextbox if it is mixed like images and text ? and the trick is to run progress bar in separate thread and do all the file reading and assigning to rich text box on the main thread
S@53K^S
8-Apr-13 16:13pm
View
Did you try creating a global string variable and send the content of the file to that variable?
S@53K^S
8-Jan-13 13:31pm
View
Do you want to compare 2 passwords like password and confirm password or do you want to authenticate a user
S@53K^S
3-Dec-12 11:35am
View
is there any problem in creating it ? if so please post that here. What do you want to know abt creating a webservice from remote machine
S@53K^S
26-Nov-12 13:09pm
View
Array is typically value based and is stored in the stack so any operations that you perform on the array increases the memory usage, and by decreasing program process you mean responsiveness of the program?
S@53K^S
21-Nov-12 10:02am
View
I would suggest to use file stream over Memory stream.typically both inherit from the Stream class,but I guess file stream is better equipped to handle files than memory stream.I did not understand your second question clearly
S@53K^S
21-Nov-12 9:54am
View
@sinhasourabh the answer is good,but what good is it to the question ?the question wanted to know how to automate the e-mailing process,response was on how send the e-mail.is it not a little bit off the path of the question ? probably you would have highlighted the scheduling task and then given the response of the code
S@53K^S
15-Nov-12 14:11pm
View
did you try using jquery on that ?try getting all items that are checked and get the value of "id" for each
S@53K^S
8-Nov-12 9:57am
View
is there any value in the selected item ?and I think you need to iterate through all the checkboxes in the panel not all controls of the panel.and please be clear if you are using ASP.NET or WinForms or WPF.the solution changes for each type
S@53K^S
8-Nov-12 9:54am
View
when you instantiate the DAL try initializing and storing the conn string into a property and use that property for your application.I think vs is intelligent enough get the conn string from a dll
S@53K^S
22-Oct-12 16:52pm
View
did you try using reflection ?
S@53K^S
22-Oct-12 16:49pm
View
try using a mask text box
S@53K^S
19-Oct-12 16:31pm
View
are you using MVVM or traditional Events method for achieving this ?
S@53K^S
19-Oct-12 11:50am
View
Initialization of property Query with empty string.Read more about that here http://www.codeproject.com/Articles/22311/C-3-0-Features.
Object Initializer is the sub heading.
and please try do your homework before posting question
S@53K^S
4-Oct-12 10:03am
View
try check for the user authorization level in the page_load event if the user is not authorized redirect them to the error page.
S@53K^S
4-Oct-12 9:58am
View
Try performing a hash/CRC check on the images.If the values are different then the image files are different.If that is not what you are looking for then probably you have to look for complex image analysis algorithm
S@53K^S
4-Oct-12 9:54am
View
you mean something like query string ?
S@53K^S
4-Oct-12 9:13am
View
Did you enable basic authentication on your host? and ensure that account under which your is running is allowed to access the disk location where your pages are published.
S@53K^S
4-Oct-12 9:11am
View
What is your problem ? Could you please outline the problem rather asking "Is fun() make any problem when huge number of users is accessing".This forum is to help your to solve the problem if your have ,not anticipate the problem that you may have.If you are doubtful abt "fun()" failing when huge number of users access please perform a load test with the scenario.
static variables and sessions are bound to cause issues if you do not handle them properly.
S@53K^S
4-Oct-12 9:05am
View
did you check the call stack for the second and third time? probably the browser is submitting a request and the javascript/some other control is submitting a request.
S@53K^S
4-Oct-12 9:02am
View
you should have had some error logged in somewhere when the application "is not working",if you could put that error logs in your question you may get more help.
S@53K^S
16-Jul-12 9:16am
View
Did you to recreate the modal pop-up after it is destroyed ?
S@53K^S
9-Jul-12 11:20am
View
Did you try and fire the DataGrid RowEdit event and after that try and recapture the data for that if so then you will be able to get the data
S@53K^S
9-Jul-12 11:14am
View
@adipas Please do not post the solution as an improvement.click on the question use the button improve question.Not knowing XAML or any other programming language is not a sin,there are a lot of good guys here to help you with that,but if you do not post the question clearly.Our solution would be like blind men describing an elephant by feeling it,if we do not understand the problem properly.Hope you know the story of 4 blind men and the elephant.
if you are not good with English try and follow these simple steps to make your question clear.
Post in bullet points--Single statements are easy to understand
Simple english will do -- You need not be a shakespeare to describe your problem just simple steps of what you are trying to do and where you got stuck and what you need from us will do.Take some time and reframe your question,you'll get answers.
As for consuming WCF services Check this out http://www.codeproject.com/Articles/196996/Consuming-WCF-Service-from-Windows-7-Phone-Applica
S@53K^S
9-May-12 10:32am
View
Is it resolved ?If not Just one question why are trying redo the compiler actions again ? and XAML is a windows app once you compile it becomes a DLL or exe that can be used.and what you are doing will deteriorate the performance of the application and make it hard to debug it.
S@53K^S
2-May-12 8:55am
View
Did you compile the DLL in which the BAL class is there and place it in the bin folder of the application ?
S@53K^S
1-May-12 10:02am
View
Isolate the Synch code and create separate project and call the methods from ASP.NET
S@53K^S
27-Apr-12 11:04am
View
Is it in windows forms or ASP.NET ?You want to disable the entire screen or just application window?
S@53K^S
27-Apr-12 10:54am
View
Is it mandatory that you have to load external file to display the UI or you can use the user controls and load the same into the main file.As loading the ui from external file may be performance degrading.
S@53K^S
27-Apr-12 10:52am
View
Please accept the solution if solved your issue.It helps the resolver.
S@53K^S
27-Apr-12 10:50am
View
Seems like you have posted wrong code here as you are assigning values to the entity object.So there is now way that this code could have given you error.And why are you instantiating getDateTime to dbnull?? if you are not using it anywhere else.
S@53K^S
26-Apr-12 9:04am
View
Could you be more clear on what exactly you are looking for ?
S@53K^S
26-Apr-12 8:59am
View
Reason for my vote of 1
What is the issue here?Seems like the actual issue is missed out
S@53K^S
24-Apr-12 15:00pm
View
Hilarious :-)
S@53K^S
24-Apr-12 9:13am
View
Looks like you are making a mistake in providing the report path to the report viewer.Could try appending the report1 also in the URI
S@53K^S
24-Apr-12 9:02am
View
Is this all your problem is if that is so you can use the DateTime.now().If you could elaborate the problem you may get a better solution
S@53K^S
23-Apr-12 15:06pm
View
Try disabling the compatibility button if you running the browser in compatibility mode.As @OriginalGriff mentioned it will be simpler if have some screen shots or something to get a better knowledge of your problem rather than single statement.
S@53K^S
23-Apr-12 10:53am
View
Deleted
Use the default page tat comes with ASP.NET application.It is simple and easy to use.
S@53K^S
23-Apr-12 10:52am
View
Use the default one that comes with the ASP.NET application.It works good for a simple login page
S@53K^S
23-Apr-12 10:50am
View
Best thing to do is keep the file that is being written to from the APP_DATA to some other location like D:Drive or so and try,as windows server will not allow a remote access to non interactive processes,to modify the files.
S@53K^S
23-Apr-12 10:48am
View
Obviously you'll use regular expression to find out the country code from the phone number.
S@53K^S
20-Apr-12 8:57am
View
We are not able to check what is there in the site there and what type of chcek list you are looking for,but if you want a checklist and you want use it you have to create the control for that and bind it to list of the Model.
S@53K^S
20-Apr-12 8:53am
View
Connect and do something on the server ? Or do a remote desktop connection to the server?Telnet could be used to connect to the server if the ports are open
S@53K^S
20-Apr-12 8:51am
View
Did you check for any errors in the second stored procedure and try executing it in the PL/SQL developer/TOAD/SQL+ client?If there are any errors in the stored procedures it will give the error
S@53K^S
19-Apr-12 14:48pm
View
could you be more clear? you want to open programs or forms ?
S@53K^S
18-Apr-12 10:47am
View
Entity Framework keeps a track of all the associated entities.So if anything changes from the last method call then it will raise the exception.
Let me explain this with an example.
If you are binding a List<employees> where Employee is an entity class.Then Entity Framework keeps track of all that.So if you are trying to change any of its values like update address of the employee "a" then you have to make sure save the changes back to the datacontext.SQLDataSource and other datasources you have to get the changes back from the UI element to underlying source object,but here it is done automatically so when a record in the DataGrid changes its underlying Entity gets updated automatically.
S@53K^S
18-Apr-12 10:41am
View
Are you using fixed layouts or relative layout?If fixed layout like setting right left properties and setting the height and width of the items then positioning will change else it will be automatically positioned
S@53K^S
17-Apr-12 10:31am
View
I guess the information people are looking for is
What you are trying to do ?
What is the error/exception you are getting ?
It would be good if you provide what type of file you are downloading
S@53K^S
16-Apr-12 14:44pm
View
in the .aspx markup.
S@53K^S
16-Apr-12 14:42pm
View
It requires reloading the page if you are doing the same without jQuery.
S@53K^S
16-Apr-12 14:33pm
View
Repository pattern is used to save all the actions related to a particular class here person for example.So if you are actually trying to say Person.CreatePerson(),it means you are not creating a new person,but you are telling the system that a new person profile has come in.So i guess the PersonProfile is not different from person.
S@53K^S
16-Apr-12 14:29pm
View
are you having problem with rendering the report or printing the data ? and could you provide some explanation as to what exactly you are trying to do ?It seems totally out of place with all the code and problem.Please provide specifics of the issue
S@53K^S
16-Apr-12 14:25pm
View
Wrong place to post the question.This is for helping seekers resolve problems that they are facing,with the code.Sorry have to down vote this.
S@53K^S
16-Apr-12 11:53am
View
you can use Window and user controls.I haven't worked with Inherited windows forms,but in WPF user controls and Main window is a good one to take a look at
S@53K^S
16-Apr-12 11:51am
View
Did you try using jQuery ?
S@53K^S
16-Apr-12 10:14am
View
reason for downvoting ?
S@53K^S
12-Apr-12 10:59am
View
Did you try changing the both on the service side as well as the client side and increase the time out limits?If your still having problems after all tht then try splitting the data to allowable limits and then stream and reassemble the chunks on the service side
S@53K^S
12-Apr-12 10:12am
View
Are you getting on submitting the or on selecting it from the drop down ?
Try putting a break point on the line
cmd.Parameters.AddWithValue("@@section_id", ddlSectionList.SelectedValue);
and check what is value it is getting and what value the @@Section_ID requires,I uges there is a mismatch there
S@53K^S
12-Apr-12 10:07am
View
Did you try using Jquery Ajax and Asynchronous calls that will help you out if you are looking for some thing like a windows look
S@53K^S
12-Apr-12 9:19am
View
Idea is good but that problem is that you are ultimately using C#/.NET for the execution of the code and getting it converted to machine instruction.
S@53K^S
12-Apr-12 8:59am
View
Good to hear that :-)
S@53K^S
12-Apr-12 8:57am
View
oops I did not wanted make it a joke.I apologize for that,but my first look was about array.I did not realize that there was other place where the code went wrong.I'm extremely sorry.I'll down vote my answer
S@53K^S
11-Apr-12 11:18am
View
Try using event bubbling inside the DataGrid ,it will help you
S@53K^S
11-Apr-12 11:15am
View
Suggest you display the latest data which is like a week old,if users want to view more then redirect them to a page which displays that entire log.Best is to use RichTextBox control
S@53K^S
11-Apr-12 11:12am
View
Where is actual code of filling in the Suppliers array ? How you invoking the service and filling in the Suppliers Array?and a Piece of advice if possible please use List<supplierstype> for that,it is better
S@53K^S
10-Apr-12 16:49pm
View
I guess the ListView is taking over the Mouse Scrolling at that point.try Disabling that feature for that particular element it will work.
S@53K^S
9-Apr-12 12:19pm
View
is this in ASP.NET or winForms ?If ASP.NET save all the values to session and retrieve from session and bind it to the grid.
If windows save all the values to a global class and then use the class to bind values to parent form
S@53K^S
3-Apr-12 10:05am
View
You have to pass the native types into that .So you have to write a little bit of un-managed code.
S@53K^S
2-Apr-12 9:49am
View
Set the minWidth and minHeight Properties of the window then it will be scaled to that level
S@53K^S
2-Apr-12 9:48am
View
Try formatting the date explicitly and then pass the same to the calling method.Check if the datetime value is valid or not.
S@53K^S
2-Apr-12 9:46am
View
What are the operating systems the working and non working ?
S@53K^S
2-Apr-12 9:35am
View
Yes,whatever code I have written in the button click event of the button executes without any issues.Except for the .dialog("close") or .dialog('close').
S@53K^S
2-Apr-12 9:26am
View
I have checked it using chrome the length is 1 which means it is valid.Do you want me to give a copy of the output of the Div tag that displays the dialog ?.
S@53K^S
2-Apr-12 8:55am
View
I guess .live is deprecated in jQuery 1.7.1 and in the documentation,it was suggested to use .on() in place of .live,but let me give it a try once.
S@53K^S
2-Apr-12 8:54am
View
Yes I have verified that $("#modalDialog") is valid object,this way $("#modalDialog").empty() and it worked.When I was discussing with one of team members the same he suggested that I may be using html,head and body elements,which is causing the jQuery to fail,but even after removing those and creating a partial view and using the same it is still useless.
S@53K^S
26-Mar-12 13:05pm
View
Did you try checking any exceptions have been logged.As it may happen that an exception may be caught and it may not been handled properly
S@53K^S
26-Mar-12 13:01pm
View
What is the error in the conversion? and instead using the Convert.ToDateTime and converting that to formatted string it is easier to use Convert.ToDateTime(<string>).ToShortDate()
S@53K^S
26-Mar-12 12:57pm
View
You have 2 different requirements or the same requirements split into 2 parts.
If 2 different requirements :
Reuirement#1 can be fulfilled by referring to the dll in which the text box was created in your application and using that value.
S@53K^S
26-Mar-12 12:52pm
View
Did you try to assign different values to each after the datasource ?
S@53K^S
23-Mar-12 11:04am
View
You would want to detect if a USB device is plugged in or not ?? Or anything else ?
S@53K^S
23-Mar-12 11:03am
View
Reason for downvote ??
S@53K^S
23-Mar-12 10:53am
View
Why do you want to have a different color for each row selected.when you can change just the color of the selected rows?
S@53K^S
22-Mar-12 16:17pm
View
Exactly what you are looking for ?
S@53K^S
21-Mar-12 11:15am
View
Could you be more clear what sort of information you are looking for.As windows does not store all the items in a single location,but it stores in various locations.Installed S/W can be sought from the REgistry.Authentication from the kernel.So on and so forth.
S@53K^S
15-Mar-12 13:23pm
View
Hi,
The Combobox that you are actually binding to binding has to change ItemsSource="Binding Path=CurrentDatacontext.ObservableCollection".Then your binding with the combo box will change.You can only set the binding path to those properties that are in the current DataContext.
S@53K^S
13-Mar-12 16:36pm
View
Did you try using the Data Binding Expressions
Details could be found here http://msdn.microsoft.com/en-us/library/bda9bbfx(v=vs.71).aspx
S@53K^S
13-Mar-12 16:20pm
View
What parameters to monitor ??
Show More