15,902,802 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 Prasad J (Top 10 by date)
Prasad J
8-Aug-12 2:53am
View
You can get the checked values from the checkboxlist as:
string values = getCheckBoxValues();
private string getCheckBoxValues()
{
string value = "";
for (int loopIndex = 0; loopIndex < CheckBoxList1.Items.Count; loopIndex++)
{
if (CheckBoxList1.Items[loopIndex].Selected)
value += "true,";
else
value += "false,";
}
return value.TrimEnd(',');
}
Also, you can preset the values by calling
presetChechbox("true,true,false,false");
private void presetChechbox(string value)
{
string[] values = value.Split(',');
// Ensure both chechbox itexs and string contain same number of items.
if (values.Length != CheckBoxList1.Items.Count)
return;
for (int loopIndex = 0; loopIndex < CheckBoxList1.Items.Count; loopIndex++)
{
bool selectedVal=false;
bool.TryParse(values[loopIndex], out selectedVal);
CheckBoxList1.Items[loopIndex].Selected = selectedVal;
}
}
Prasad J
8-Aug-12 2:09am
View
confirm that your variable [imgBinaryData] is a byte array.
Prasad J
8-Aug-12 1:27am
View
Before inserting the session id into the table, you have to check whether the new id is already exist, if so you have create a new session or remove the previous entry from the table.
Prasad J
8-Aug-12 1:20am
View
please remove 'xmlns:asp="#unknown"' from the aspx
Prasad J
6-Aug-12 1:03am
View
Instead of placing the entire ContentPlaceholder within UpdatePanel,
it will be better that you can place the UpdatePanel within each contentPages where actually needs the AJAX postback.
Prasad J
1-Aug-12 3:23am
View
Change your query something as follows:
SELECT [field1], [field2],
CASE UCM_MAPPED WHEN 1 THEN 'True' ELSE 'False' End as UCM_MAPPED, ....
Prasad J
1-Aug-12 3:15am
View
Ensure the value in the field [UCM_MAPPED] returns True or False not 0 or 1
Prasad J
1-Aug-12 1:20am
View
Try to place the Hidden field in the same updatepannel where the Country comboBox is placed.
Prasad J
25-Jul-12 8:00am
View
Can your dll play the mp3 if you specify the URL (save the mp3 file in server/localhost and specify its URL)?
Prasad J
19-Jul-12 5:19am
View
Can you clarify
- Print Icon is missing
OR
- Print Icon is there, but it is not working
Show More