Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
N

nkiran

@nkiran
About
Posts
9
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Response is Not Available
    N nkiran

    Hi all I am trying to use my own event handlers i am not using any sessions ,for the first time the page is executing without any errors ,when i try to refresh the page it is giving the following error. Can any one help me.. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web.HttpException: Response is not available in this context. With Many Thanks kiran

    ASP.NET help data-structures debugging

  • Authorization and Profile Application Blocks
    N nkiran

    Hi We are using Authorization and profile application blocks (Microsoft Design patterns).We are trying to access the Azman Provider we are not able to access the dll which is added in the references already in the client application.If you can provide us some code snippets that would be really very helpful.I am providing my client application here. *******************Code********************* using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; //Error ,in accessing the reference that is added using Microsoft.ApplicationBlocks.Security.Provider; //cannot access the provider. using Microsoft.ApplicationBlocks.Security.Authorization; using Microsoft.ApplicationBlocks.Security.Profile; using Microsoft.ApplicationBlocks.Common.Crypto; using System.Security.Principal; using System.Configuration.Assemblies; using System.Threading; using Microsoft.Interop.Security.AzRoles; namespace myClient { public class WebForm1 : System.Web.UI.Page { string userRole="Manager"; private void Page_Load(object sender, System.EventArgs e) { Microsoft.ApplicationBlocks.Security.ExtendedPrincipal principal = Microsoft.ApplicationBlocks.Security.ExtendedPrincipal.Create(Thread.CurrentPrincipal.Identity); Thread.CurrentPrincipal =principal; principal.AuditIdentifier ="MyAuditIdentifer"; principal.AuthorizationProvider="azmanProvider"; principal.AuthorizationParameters.Add(AzManProvider.ApplicationName,"myApplication"); if(Thread.CurrentPrincipal.IsInRole(userRole)) { ((ExtendedPrincipal)Thread.CurrentPrincipal).AuthorizationParameters.Add("tasks",new string[1] {"AddOrderTask"}); if ( ((ExtendedPrincipal)Thread.CurrentPrincipal).CheckAccess()) { //quickStart.AddOrder(); } else { Response.Write("Add Order Access Denied"); } } Hashtable parameters = new Hashtable(5); parameters.Add("principal",Thread.CurrentPrincipal); ((ProfileCollection)((ExtendedPrincipal) Thread.CurrentPrincipal).Profile). Initialize((ExtendedPrincipal)Thread.CurrentPrincipal); // Accessing the Profile Information from the ProfileCollection: Response.Write("Profile Information from the Profile Collection thru the ExtendedPrincipal"); Response.Write("Profile Information: 'Preferred Investment Type' is "+(string)((ProfileCol

    .NET (Core and Framework) design security com graphics cryptography

  • Sending multiple(Array) values from one page to other page
    N nkiran

    U can try with HTTP Headers to send the data ... With Many Thanks kiran

    ASP.NET database data-structures performance

  • handling a header checkbox (header Template) in Datagrid
    N nkiran

    Hi all I am not able to catch an instance of Checkbox in Header Template thru Findcontrol. Here is a piece of code i am working on Throwing object cant be created for the checkbox in HeaderTemplate.. Any suggestions fully appreciated.. public void OnChkChangeHandler(object sender, System.EventArgs e) { // Handles the checkbox event... DataGridItem item; //cb=(CheckBox)sender; //error is pointing here CheckBox cb=(CheckBox)grdComputers.Items[0].FindControl("chkHdr"); for(int i=0;i<=grdComputers.Items.Count-1;i++ ) { item=grdComputers.Items[i]; CheckBox m_chkBox=(CheckBox)item.FindControl("chkUnAssign"); if(cb.Checked==true) { m_chkBox.Checked=true; } else if(cb.Checked==false) { m_chkBox.Checked=false; } } } Error:::: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: Line 325: item=grdComputers.Items[i]; Line 326: CheckBox m_chkBox=(CheckBox)item.FindControl("chkUnAssign"); Line 327: if(cb.Checked==true) Line 328: { Line 329: m_chkBox.Checked=true; With Many Thanks kiran

    ASP.NET help

  • how to build Tabcontrol or TabStrip or Toolbar ?
    N nkiran

    hi can any one giv info were can i get the tabcontrols or tabstrip in ASP.net, microsoft.web.ui.controls are not working, very urgent:zzz: With Many Thanks kiran

    ASP.NET csharp asp-net design tutorial question

  • Http Headers
    N nkiran

    Hi i am trying to pass the objects b/w pages i would like to pass thru HTTP Headers? the problem is how can i pass the information thru headers.............. With Many Thanks kiran

    ASP.NET

  • Http Headers
    N nkiran

    hi all how can u pass information thru HTTP headers and also can we pass unlimited data thru HTTP headers. any suggestions fully appreciated kiran With Many Thanks kiran

    ASP.NET

  • Dataadapter
    N nkiran

    Hi Thanks for your response.......but wen u specify datasource in ur connection string like pubs u get the entire tables and also we want only selected tables like employer,customers etc with only one dataadapter object. I hope u understand my problem..regarding the performance. kiran With Many Thanks kiran

    ASP.NET database

  • Dataadapter
    N nkiran

    Hi all Can i retrieve selected tables from the database using one adapter,command object without going for a storedprocedure.I dont want to retreive the entire tables in to datasource....if any one finds solution pls email me .;) With Many Thanks kiran

    ASP.NET database
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups