15,906,816 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 narengowtham (Top 21 by date)
narengowtham
20-Feb-17 1:10am
View
Hi,
I made the logic's through this condition
if(item.File.CheckOutType!=SPFile.SPCheckOutType.None)
This condition will trigger when files are already checked out.
also with another if condition.
if(item.File.CheckOutType=SPFile.SPCheckOutType.None)
This code will trigger when file to check out new file.
narengowtham
18-Feb-17 1:45am
View
On run time,The file was check out by different users,they have to get message" File check out is already exsists" on same visual web part page.The same user checking out the new file,he/she should not message that "File check out is already exsists".
narengowtham
18-Feb-17 1:34am
View
Sorry mate, i am unable to explain sweet and short.
narengowtham
18-Feb-17 1:32am
View
Hi,
By clicking on check box on grid view I can check in and check out the files in document library.
Requirement:
While checking out the file which was already exists in document library i should get message "The file which is already check-out".
Issue is:
(item.File.CheckOutType== SPFile.SPCheckOutType.Online)
{
Label2.Text = "already exists";
}
This code enable when files were already check out in library .while I am trying to check out the new file I was getting the message that "check out file already exists".
I should not get the message while checking out new file.
narengowtham
15-Feb-17 9:18am
View
Thanks for your instant reply mate.
narengowtham
15-Feb-17 9:10am
View
yes,Issue is fixed.
narengowtham
15-Feb-17 8:33am
View
To get the hyperlink on grid cell.
<asp:HyperLinkField HeaderText="Documents" DataTextField="Title" DataNavigateUrlFields="URL"/>
narengowtham
15-Feb-17 8:26am
View
Hi,
The Hyperlink field <asp:HyperLinkField HeaderText="Documents" DataTextField="Title" DataNavigateUrlFields="URL"/>, I tried to bind this field to grid view.Finally i noticed that i was using the hyperlink not a hyperlink field.To fetch the hyperlink column from the share point list item.
narengowtham
9-Feb-17 2:42am
View
I managed to get the break point for debugging after many attempts and followed these steps.
1.)Tools->Import and export settings->reset all.
2.)Attach the work proceed based on your url like you mentioned on this discussions.
3.)Debug->option and setting->un-check the enable just my code.
My undesrstanding behind this:
Once build option is clicked, on back-end
the original version and instance of the original version get created in the debug folder automatically.The break-point was pointing on instance,while debug it refer to the original version.When the code get's modified,click on build again and then memory will restore the instance version.The location of project and other dll instance should in same folder.Any of those logic's missing off we will get no symbol has been loaded for documents.
narengowtham
8-Feb-17 5:59am
View
Thank for your support mate.I'll let u know in case find a solution.
narengowtham
8-Feb-17 5:49am
View
I was nice information,added w3wp based on my process id from iis manager.But I made some changes,Tool->debugging options,If not mind can you guide me what should check and un-check.
narengowtham
8-Feb-17 5:35am
View
Actually,I attached all w3wp process for debug.
narengowtham
8-Feb-17 5:27am
View
I had attached the process like w3wp.exe. But there are more versions like w3wp.
narengowtham
6-Feb-17 10:08am
View
The item is presented on check box list.
But Coming to this code instance
if (ex == ";#1-2 year;#")
{
chkdept.Items[1].Selected = true;
it represented the index to get value for check box list
}
";#1-2 year;#" == ";#1-2 year;#"
ex from share list item column
it default comes with space
After that problem was solved.
narengowtham
5-Feb-17 7:36am
View
In specific I can share screen shots if u not mind through email
narengowtham
5-Feb-17 7:34am
View
on my code upto here
if (rd == "Male")
{
rb.Items.FindByText(rd).Selected = true;
}
else if (rd == "Female")
{
rb.Items.FindByText(rd).Selected = true;
}
is good but for check list and droplist i am not getting selected values.
narengowtham
5-Feb-17 7:32am
View
No changes happened on grid view for checklist column.
It might be taking just only the radio button list while clicking on edit.
narengowtham
5-Feb-17 7:26am
View
Let me check it.
narengowtham
5-Feb-17 7:21am
View
<asp:TemplateField HeaderText="Gender" ItemStyle-Width="10" ItemStyle-Wrap="False">
<ItemTemplate >
<%# Eval("Gender") %>
<edititemtemplate>
<asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal" >
<asp:ListItem Value="1">Male
<asp:ListItem Value="2" >Female
<asp:TemplateField HeaderText="Experience">
<itemtemplate>
<%# Eval("Experience") %>
<edititemtemplate>
<asp:CheckBoxList ID="CheckBoxList1" runat="server">
<asp:ListItem Value="0" Text="1-2year">
<asp:ListItem Value="1" Text="2-5year">
<asp:ListItem Value="2" Text="5-10year">
My share point lsitem column name Experience choice field
Same as
1-2year
2-5year
5-10year.
But on grid view check box value shows with;,#
special chracter.
2-5year
narengowtham
5-Feb-17 7:18am
View
I checked with bound values and field name every thing fine.
narengowtham
5-Feb-17 7:16am
View
It's not throwing a error,for radio button I can set the value it work's fine and for checkbox list it checks conditions and it not getting into the chkdept.Items.FindByText(replace).Selected = true;
Show More