Thursday, December 30, 2010

If it is being updated dynamically then it must be inside another UpdatePanel

There was two update panels.one have a button control and another one was within asp panel.when i hit the button this error occured.I put the asp panel within update panel.Now it is ok.but i couldn't find the reason for getting that error.

Have to hit twise button withing update panel in asp:panel

not resolved

Tuesday, December 28, 2010

The file is being used by another process

This occured when i send a mail with attachement and replace that attachment file with same name at same time.simplly called Dispose method in finally block for attachement object.solved it.

Wednesday, December 8, 2010

System.IO.IOException: Expected > for tag: <{1}/>

This take place when i was generating gridview to pdf document.In my gridview there are some < characters.simply replace < character with &lt; in gridview rowdatabound event.now it is work.

Related articles http://www.c-sharpcorner.com/UploadFile/515294/5205/
http://www.c-sharpcorner.com/UploadFile/515294/5201/

Wednesday, December 1, 2010

When debuging the project not point to break point VS 2008

here the solution
http://geekswithblogs.net/dbutscher/archive/2007/06/26/113472.aspx

System.ArgumentOutOfRangeException: Index and length must refer to a location within the string


{
{
additionalcharges =
}
if (transinfodum.additionalcharge.ToString() != "")if (transinfodum.additionalcharge.ToString().Substring(0, 1) == "-")"Discount " + transinfodum.additionalcharge.ToString().Substring(1);else{
additionalcharges = transinfodum.additionalcharge.ToString();
}
}
 

this is takeplace when i was getting a sub string from a null string value.
solved it...

How to Create Events Using Microsoft Graph API with Delegated Permissions and MSAL.js

Microsoft Graph API provides powerful capabilities to interact with Microsoft 365 services. In this guide, we’ll explore how to create calen...