View Complete Post
I have a check box in a template field in a gridview.
Based on some condition, I want those check boxs to be enable and disable.
I am trying the below code but does working..
protected void GVstudents_RowDataBound(object sender, GridViewRowEventArgs e)
if (e.Row.RowType == DataControlRowType.DataRow)
string studentID = GVstudents.DataKeys.Value.ToString();
int stdID = Convert.ToInt32(studentID);
int schID = profile.getSchoolIDByStudentID(stdID);
int tchrID = profile.getTeacherIDByStudentID(stdID);
if (patti.chkIsTeacherPaid(stdID, schID, tchrID))
CheckBox cb = (CheckBox)e.Row.FindControl("chkTeacherPayment");
cb.Enabled = false;
cb.Checked = true;
I want to redirect to other page after check in the document in the document library. So I coded in ItemCheckedIn event.
But the problem was raised:
Can anyone help?Thx.
I've come across an error with SP2010 standard search a few times now. The error message is "Illegal operation attempted on a registry key that has been marked for deletion",
and it happens when "SearchService.svc" is accessed by SP Search. I have seen this error on my dev environment, test environment and a client's UAT environment. The resolution is a reboot of the server, but that's obviously far from ideal.
I've tried to restart all SharePoint related services too without any luck. This error doesn't seem to occur regularly, and can take days before it happens after a reboot.
The full error message is below:
Server Error in '/4ca4d32e32d848338cab8aeeb78f7a2b' Application.
SharePoint 2010 - Not able to check out a document I have created a document library in SharePoint 2010 site. When I try to check out a document, I get the message "This document could not be checked out. You may not have permission to check out the document or it is already checked out or locked for editing
by another user.". However, I am able to edit the document in Microsoft Word 2010.
I'm trying to install SQL Server 2008 R2 Express, but there is just no way to make it work.
I have tried changing the values in the registry as said
But it does not help, nor can I find all the values that are mentioned.
I have tried most parts of the KB article
But what I could do, does not help, and I cant find the .dat files mentioned, anywhere.
I'm running a Windows 7 installation virutally with Parallels Desktop on a mac for the only intrerst of using VWD/VS C# expresses and the MS SQL Server. I have even tried to just delete the entire windows installation, reinstalling windows again and
then opening IE downloading SQL Server the first thing I do and it still fails as default...
I can't se why it should not work. I mean the system is made by Microsoft just like the programs I'm trying to install, so with even them beeing a missfit, go figure why I'm on a mac. I obviously do not know enough about this stuff to fix the registry,
I've tried lots of different cleaning programs and stuff, but nothing helps, so what do I do? just give up?
Hi, I'm tryng to install sql server 2008 in win vista and in the System Configuration Check, item: Performance counter registry hive consistency check has the status FAILED ÃÂ all the others items has PASSED and the setup stops here theonly option is CANCEL. Thus anyone knows the possible problem and resolution to this?