9,869,444 members (34,258 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
120 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 3
Page Size:
10
·
25
·
50
Author filtered by: Naz_Firdouse
[x]
Windows Communication Foundation
by
Naz_Firdouse
Answer
9 May 2013
license:
CPOL
Have a look at theseWCF[^]Windows Communication Foundation FAQ quick starter Part 1[^]what-is-wcf-in-simple-terms[^]what-is-wcf-in-net[^]What+is+WCF[^]windows-communication-foundation(wcf)[^]
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
WCF
Want to disable a Button column based on other column text in DataGridView
by
Naz_Firdouse
Answer
8 May 2013
license:
CPOL
This works for Web Application...Use RowDatabound Event Here you go protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { Label lbl1 =...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Silverlight AutoComplete box
by
Naz_Firdouse
Answer
8 May 2013
license:
CPOL
Implement INotifyPropertyChanged event...Here are some sampleswhats-the-concept-behind-inotifypropertychanged[^]implementing-inotifypropertychanged.html[^]simple-example-of-inotifypropertychanged.aspx[^]
General Programming
»
Uncategorised Quick Answers
»
General
Silverlight
Problem facing in GridView paging
by
Naz_Firdouse
Answer
7 May 2013
license:
CPOL
I am not sure about Page.DataBind();this works for meprotected void gridView_PageIndexChanging(object sender, GridViewPageEventArgs e){ gridView.PageIndex = e.NewPageIndex; gridView.DataSource = /* Specify your dataset you want to bind here */ ...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
How to get Mouse Event Args in my web page
by
Naz_Firdouse
Answer
7 May 2013
license:
CPOL
The reason MouseEventArgs is not working is it is available in Forms application...since you are using it in web application, it gives you error...For drag and drop behavior in Web app, you can use JQuery and here are some...
General Programming
»
Uncategorised Quick Answers
»
General
C#
C#4.0
how to validate dropdownlist in asp.net with c#
by
Naz_Firdouse
Answer
7 May 2013
license:
CPOL
User should select from dropdownlist means you may be displaying the first item in dropdownlist as "Select"... and you will have a "Search" or "Show" button in your page.In that case, you can have a bool variable and change its value inside Dropdownlist selection changed event... So whenever...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Sorting is not working in Gridview ASP.Net
by
Naz_Firdouse
Answer
7 May 2013
license:
CPOL
The reason is e.SortDirection always returns Ascending....so you need to store the e.SortDirection in a ViewState and sort the dataview with that value...Here are some samples..http://stackoverflow.com/questions/250037/gridview-sorting-sortdirection-always-ascending[^] GridView...
General Programming
»
Uncategorised Quick Answers
»
General
Gridview
Combobox in Datagrid WPF
by
Naz_Firdouse
Answer
7 May 2013
license:
CPOL
You can use like thisSqlConnection conn = new SqlConnection("connection string");SqlDataAdapter da = new SqlDataAdapter("your Query", conn);DataSet ds = new DataSet();da.Fill(ds, "tblName");cmb.ItemsSource = ds.Tables[0].DefaultView;If you are using MVVM, have a look at...
General Programming
»
Uncategorised Quick Answers
»
General
WPF
DataGrid
Get runtime genrated checkbox value after clicking on a button
by
Naz_Firdouse
Answer
6 May 2013
license:
CPOL
You will be getting null atthis.appentDiv.FindControl("chk1") as CheckBoxThe reason is Dynamically added controls will not be available after postback....So you need to handle this by using Session or Viewstate...Please check these links...Solve Dynamic Control Problem With...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Adding Custom Control into gridview in win application using c#.net
by
Naz_Firdouse
Answer
6 May 2013
license:
CPOL
check thishttp://www.c-sharpcorner.com/UploadFile/LivMic/UC_InsideGV02202007133624PM/UC_InsideGV.aspx[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
The code of Drag and drop
by
Naz_Firdouse
Answer
6 May 2013
license:
CPOL
for windows forms, check these A Simple Drag And Drop How To Example[^]http://stackoverflow.com/questions/11407068/how-to-drag-and-drop-a-button-from-one-panel-to-another-panel[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
code for casecading dropdown
by
Naz_Firdouse
Answer
6 May 2013
license:
CPOL
Have a look at this samplehttp://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/Walkthrough/CCDWithDB.aspx[^]Using CascadingDropDown with a Database[^]
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
VB
VB.NET
How to create Alert Message in c#.net wi
by
Naz_Firdouse
Answer
6 May 2013
license:
CPOL
Use MessageBox.Show("Hello"); Have a look at thesehttp://www.dotnetperls.com/messagebox-show[^] http://msdn.microsoft.com/en-us/library/system.windows.forms.messagebox.show.aspx[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#3.0
C#
How Call Server side function from client side
by
Naz_Firdouse
Answer
6 May 2013
license:
CPOL
Have a look at this...http://weblogs.asp.net/karan/archive/2010/09/12/calling-server-side-method-using-jquery-ajax.aspx[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Ajax
how to remove the specific session values in asp.net
by
Naz_Firdouse
Answer
6 May 2013
license:
CPOL
Use Session.Remove("UserName");
General Programming
»
Uncategorised Quick Answers
»
General
C#
Using listbox how to display all the faculty name using asp.net with C#
by
Naz_Firdouse
Answer
6 May 2013
license:
CPOL
You need to assign some list or dataset to DataSource of Listbox likemyListBox.DataSource = someList;See these...http://www.java2s.com/Tutorial/ASP.NET/0380__Data-Binding/BindDataSettoListBox.htm[^]To get the data from DB,...
General Programming
»
Uncategorised Quick Answers
»
General
C#
Windows Phone ListBox (inner ListBox)
by
Naz_Firdouse
Answer
6 May 2013
license:
CPOL
Here is a sample... use this...hope it helps... The definitions for datatemplate is In...
General Programming
»
Uncategorised Quick Answers
»
General
C#
How to integrate SpellChecker for Ajax HTMLEditor.
by
Naz_Firdouse
Answer
6 May 2013
license:
CPOL
refer the solution given by jackyang here...http://forums.asp.net/t/1519923.aspx[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Javascript
jQuery
Windows Phone ListBox (inner ListBox)
by
Naz_Firdouse
Answer
3 May 2013
license:
CPOL
you can use nested listboxes...have a look at this...http://debugmode.net/2011/08/20/nested-listbox-binding-in-silverlight-and-windows-phone-7/[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
Nested Listbox Event Issue.
by
Naz_Firdouse
Answer
3 May 2013
license:
CPOL
If you want Parent listbox selected item ID (may be), you can bind the same as the tag for child listbox and when you tap the child listbox, you can get the parent selected item from that tag...If you need further clarification, use improve question and please post your code and explain what...
General Programming
»
Uncategorised Quick Answers
»
General
C#
how to insert some text with values in aspx.cs page
by
Naz_Firdouse
Answer
2 May 2013
license:
CPOL
I hope you want to insert the textbox value.so modify your query like thisstring cmdSendSMS2 = "insert into MobileSMS(MsgTxt,MsgDate) values('" + msgtxt.Text + "','" + DateTime.Now + "')";where your textbox can be like thisThen it will insert with the value provided in...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
JQuery Image slide, Where images should come from database
by
Naz_Firdouse
Answer
1 May 2013
license:
CPOL
YOu can bind the images from database to an unordered list(ul) andcreate a carousal in JQuery which will provide the user to use previous and next buttons.Have a look at these samples which will help you in creating the...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
jQuery
Dynamically add row in Datagrid in Silverlight
by
Naz_Firdouse
Answer
30 Apr 2013
license:
CPOL
You can have a class which holds the value of the controls whatever you want and maintain a global collection of that class...ObservableCollection obj = new ObservableCollection() where Employee is your defined class.Now on button click , you can add the new row like thisPrivate void...
General Programming
»
Uncategorised Quick Answers
»
General
DataGrid
Silverlight5
error shows as follows input string was not in a correct format
by
Naz_Firdouse
Answer
30 Apr 2013
license:
CPOL
Before converting the string to int, make sure that the string is not null...use like this int i = String.IsNullOrEmpty(str) ? -1 : Convert.ToInt16(str);
General Programming
»
Uncategorised Quick Answers
»
General
C#
issue with regex pattern from resource file in javascript
by
Naz_Firdouse
Question
30 Apr 2013
license:
CPOL
Hi all,I am validating an email with the pattern likevar pattern = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/;and I am testing for a match like this... if (!r.test(txtEmail.Text))it works fine...but if I get this pattern value from resource file like var pattern= "
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
Javascript
regular-expression
how to create onmouseover event to PolygonHotSpot in asp.net c#
by
Naz_Firdouse
Answer
25 Apr 2013
license:
CPOL
are you using JQuery??? if so here is the solution...$(function () { var map = document.getElementsByName("ImageMap")[0]; var areas = map.getElementsByTagName("AREA"); for (var i = 0; i
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Is there a way to view image in ListView
by
Naz_Firdouse
Answer
25 Apr 2013
license:
CPOL
I hope you want to show images in listview which are retrieved from database. Check these helpful links...Show Image in Listview retrieve from database in ASP.net[^]
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
ListView
window phone 8 app audio
by
Naz_Firdouse
Answer
24 Apr 2013
license:
CPOL
Go through these links...http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202978(v=vs.105).aspx[^]http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh394039(v=vs.105).aspx[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
how to know the textchanged event in if condition
by
Naz_Firdouse
Answer
24 Apr 2013
license:
CPOL
If you want to fire an event other than textchanged when the text is changed in the textbox , then do like thisAdd onblur event to the textbox in code behind like thistb1.Attributes.Add("onblur", "javascript:tbFn(this);"); function tbFn(tb) { var text =...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
if
How to Get Text Of Checkbox using javascript if the text.align is left ?
by
Naz_Firdouse
Answer
24 Apr 2013
license:
CPOL
If you set TextAlign to Left, then you can access the value by setting var UnCheckedfilename = cbh.previousSibling.innerHTML;because "the previousSibling property returns the element that immediately precedes the current element in the childNodes collection of the current element's...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Javascript
How to bind a TabControl to several User Controls
by
Naz_Firdouse
Answer
23 Apr 2013
license:
CPOL
You can add the usercontrol as a tabItem itself like or add multiple datatemplates to the tabcontrol...Check...
General Programming
»
Uncategorised Quick Answers
»
General
WPF
TabControl
Highlighting a cell border/background color WPF, MVVM XamDataGrid
by
Naz_Firdouse
Answer
23 Apr 2013
license:
CPOL
Do you want to set the color for the cell while binding itself based on some condition??? if so, please check these which uses converters http://stackoverflow.com/questions/6986898/change-color-of-datagrid-cell-wpf-regarding-range[^]Here check for Padma's solution......
General Programming
»
Uncategorised Quick Answers
»
General
WPF
MVVM
how to set 10 items per dropdownlist out of 60.
by
Naz_Firdouse
Answer
23 Apr 2013
license:
CPOL
I think yo ucan use listbox if you want to show some items initially and to view the remaining items, you can scroll down.Here is a sample.Item 1Item...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
drop-down
Deleting rows in data grid view
by
Naz_Firdouse
Answer
23 Apr 2013
license:
CPOL
you want to delete the entire row . right?if that is the case, use like thisDgvBranch.DeleteRow(index)
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
Zoom a image on click and reset it on another click(Toggle Zoom)
by
Naz_Firdouse
Answer
23 Apr 2013
license:
CPOL
see this...http://jsbin.com/ateva3/1/edit[^]
General Programming
»
Uncategorised Quick Answers
»
General
jQuery
date converting problem
by
Naz_Firdouse
Answer
23 Apr 2013
license:
CPOL
something like thisdateObj1.ToString("mm/dd/yyyy") = dateObj2;where dateObj2 is of format "mm/dd/yyyy"
General Programming
»
Uncategorised Quick Answers
»
General
VB
VB.NET
I want to insert a record in DB and then need to return a row . I created the query but how to use that in .cs (C# code )
by
Naz_Firdouse
Answer
22 Apr 2013
license:
CPOL
Here is a sample...http://msdn.microsoft.com/en-US/library/37hwc7kt(v=vs.80).aspx[^]http://stackoverflow.com/questions/4492536/how-run-a-stored-procedure-with-parameters-has-a-return-value-from-code-behi[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
SQL
.NET
SQL-Server
SQL-Server
SQL2008
How to Enable/Disable Href link at code behind
by
Naz_Firdouse
Answer
22 Apr 2013
license:
CPOL
I think you need to set to true if Session value is null...Please check...The property Disabled works fine...You need to set it to true if you want to disable the anchor tag...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Call javascript function after return statement
by
Naz_Firdouse
Answer
22 Apr 2013
license:
CPOL
Instead of returning false from code behind,call this function like... Page.ClientScript.RegisterStartupScript(this.Page.GetType(), "checkRadio", "fn_radio();");
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Javascript
how to store hindi data in sql server 2005
by
Naz_Firdouse
Answer
22 Apr 2013
license:
CPOL
check this...Save Hindi,Marthi Content in Sql Server database[^]also refer thesehttp://aalamrangi.wordpress.com/2012/05/13/storing-and-retrieving-non-english-unicode-characters-hindi-czech-arabic-etc-in-sql-server/[^]
General Programming
»
Uncategorised Quick Answers
»
General
SQL2005
VB
SQL-Server
VB.NET
how to pass a parameter to a SP in code bihand file in asp.net
by
Naz_Firdouse
Answer
22 Apr 2013
license:
CPOL
Use like thissqlDataSource1.SelectCommand = "spGetProductDetails";sqlDataSource1.SelectCommandType = SqlDataSourceCommandType.StoredProcedure; sqlDataSource1.SelectParameters.Add("code",TypeCode.String, "1");sqlDataSource1.SelectParameters[0].Direction =ParameterDirection.Input; ...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
SQL-Server
Image Handling in MVC4
by
Naz_Firdouse
Answer
21 Apr 2013
license:
CPOL
Here are some samples...http://forums.asp.net/t/1819463.aspx/1?How+to+Upload+Image+in+Mvc3[^]
General Programming
»
Uncategorised Quick Answers
»
General
MVC3
MVC4
How to convert div content into PDF or MS Word
by
Naz_Firdouse
Answer
21 Apr 2013
license:
CPOL
Hope this helps...http://forums.asp.net/t/1526724.aspx/1[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Javascript
how compare two textbox dates in javascript
by
Naz_Firdouse
Answer
21 Apr 2013
license:
CPOL
you can convert the strings to date and then compare the two strings like thisvar Date1 = new Date("12/121/2012"); var Date2 = new Date("6/6/2013"); if (Date2 > Date1) { alert('found'); }
General Programming
»
Uncategorised Quick Answers
»
General
C#
call delete if not exists cindition in c#
by
Naz_Firdouse
Answer
21 Apr 2013
license:
CPOL
you can have your image button inside the gridview like this ...asp:ImageButton runat="server" ID="ibtnDelete" Text="delete" CommandName="delete" CommandArgument=''and you can add a RowCommandprotected void...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
SQL-Server
How to use Checkbox in MVC2 Telerik grid
by
Naz_Firdouse
Answer
21 Apr 2013
license:
CPOL
Hope this helps...http://demos.telerik.com/aspnet-mvc/razor/grid/checkboxesajax[^]
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
MVC2
how can i access the textbox inside the datagrid using the events of that datagrid?
by
Naz_Firdouse
Answer
21 Apr 2013
license:
CPOL
Please check this...http://www.c-sharpcorner.com/UploadFile/8911c4/how-to-find-control-and-its-value-form-datagrid-in-wpf/[^]Here there are two DataGridTemplateColumns and accessing a control within one datatemplate from another...
General Programming
»
Uncategorised Quick Answers
»
General
XAML
WPF
how to access the text box value in the ahref tag
by
Naz_Firdouse
Answer
21 Apr 2013
license:
CPOL
On click of href, call a javascript method and there get its href....since you want to see a parameters value, serach for the parameter txtcallerid in that href and then find the value assigned to it...http://jsfiddle.net/acX4s/2/[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
Javascript
how to convert string to uri in c#?
by
Naz_Firdouse
Answer
21 Apr 2013
license:
CPOL
you can use Uri class as follows...Uri myUri = new Uri("http://www.contoso.com/Hello%20World.htm", UriKind.Absolute);Before converting you need to check that your string is of correct format....i.e validate your string before converting to URIfor more info, check...
General Programming
»
Uncategorised Quick Answers
»
General
C#
including ternary operator in HTML tag
by
Naz_Firdouse
Answer
21 Apr 2013
license:
CPOL
please check this...http://stackoverflow.com/questions/4091831/how-to-use-ternary-operator-in-razor-specifically-on-html-attributes[^]
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
HTML
operators
Page 1 of 3
1
2
3
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web04 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid