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
H

hatim_ali

@hatim_ali
About
Posts
41
Topics
26
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • security warning with https
    H hatim_ali

    Hello folks, I've integrated my ASP.NET website with a portal on web. My website opens in a frame provided by the web portal. The portal uses https protocol. Now when i open my website IE displays a security warning saying "This page contains both secure and un-secure items. Do you want to display the non secure items". When i hit yes every thing works fine. What should i do to remove this security warning. My ASP.NET web page has a user control. Does the security warning has anything to do with that control? Thanks in advance....

    ASP.NET csharp asp-net security question

  • security warning with https
    H hatim_ali

    Hello folks, I've integrated my ASP.NET website with a portal on web. My website opens in a frame provided by the web portal. The portal uses https protocol. Now when i open my website IE displays a security warning saying "This page contains both secure and un-secure items. Do you want to display the non secure items". When i hit yes every thing works fine. What should i do to remove this security warning. My ASP.NET web page has a user control. Does the security warning has anything to do with that control? Thanks in advance....

    Web Development csharp asp-net security question

  • Client side call back
    H hatim_ali

    I have a process at server side which takes around 120 minutes to execute. When i post an ASP.NET page the process is invoked at server side. Now i need a call back mechanism that as soon as the process completes processing at server it call back a client side script's (javascript) function to report success or failure accordingly. I read that ASP.Net v2.0 has built in support for client call backs. How can this be done with ASP.NET 1.0. best regards...

    ASP.NET csharp javascript asp-net sysadmin tools

  • Strong name to Interop assembly
    H hatim_ali

    I had read about al.exe but it requires .netmodule file which obviously i don't have because the source assembly is an interop assembly. Any other workaround ?? Thanks...

    C# com dotnet tutorial question

  • get name of form / html page
    H hatim_ali

    Using QueryString. For example if you have links to webform.aspx on a.htm and b.htm then modify the link's href attribute by including information in the URL about the source. For example: Link on a.html will Web Form Similarly, Link on b.html will Web Form Then write some code on webform.aspx code behind to take appropriate action. For example: switch(Requeset.QueryString["Source"]) { case "a.htm": // some action break; ... ... } Hope it helps.

    ASP.NET question html

  • Strong name to Interop assembly
    H hatim_ali

    Hello, I have a class library project which has a class supporting COM+ transactions. This class library project refers a COM interop assembly. Now i need to register the assembly after compiling this class library projects into GAC. Registrering it into GAC requires tthat the assembly should have a strong name. Now when i use [assembly: assemblykeyfile("file.snk")] attribute and compile the class library project it prompts me that the interop assembly should have a strong name too.. Now how to assign that interop assembly a strong name whehn its source is not accessible to me ?? OR how compile successfully this class library without assigning strong name to interop assembly. Any other workarounds ?? Thanks, Hatim Ali.

    C# com dotnet tutorial question

  • HTML with XSLT
    H hatim_ali

    hi folks... I apologize for reposting but some code was trimmed in the previous post... I need to change the color of tr to red when @result attribute contains "failed". When i executed above snippet i got the following error. "End tag 'xsl:when' doesn't match the start tag 'tr'"?? Any workarounds ?? Thanks in advance... Regards, Hatim Ali.

    XML / XSL xml html regex help question

  • XSLT - HTML
    H hatim_ali

    hi folks... I need to change the color of tr to red when @result attribute contains "failed". When i executed above snippet i got the following error. "End tag 'xsl:when' doesn't match the start tag 'tr'"?? Any workarounds ?? Thanks in advance... Regards, Hatim Ali.

    XML / XSL xml html regex help question

  • how to handle a mass of lables in C#?
    H hatim_ali

    hi.... Enums Members[^] Arrays in C#[^] best of luck...

    C# csharp help tutorial question

  • how to handle a mass of lables in C#?
    H hatim_ali

    for(int i=0; i < this.Controls.Count; i++) if(this.Controls[i].GetType() == typeof(System.Windows.Forms.Label)) MessageBox.Show (this.Controls[i].Name);

    C# csharp help tutorial question

  • Design Question - Business Object Layer and Data Access
    H hatim_ali

    You Wrote: The problem I see with this approach is the following. Say my MDI GUI displays a list of all Companies in a TreeView on the lefthandside. On DoubleClick the selected BusinessObject gets displayed in a new "Document Window" which hosts a PropertyGrid control. Now my user opens 3 Companies and changes the data of all of them. How would I then handle the situation when he only wants to save to of those documents? In My Opinion: Save one on one basis that is "Save" can be done on open screens only. When your application user double clicks the company tree view a "document window" with company details with a save button will be presented to user. If the user want to persist the chages, he'll hit save and your code will invoke save inteface on the business object. This will save you scanning all objects in collection and will also save you from maintining that which objects have been changed. Some other suggestions: Creating objects for all companies may not be an optimal idea. Only fetch company names and Identification info (IDs) from database and render it to tree view. Obviously these objects will be lightweight as no company info is fetched. Now, if your app user selects a company, create a Object of Class Company with all the company details and render it to user. hope it helps, Hatim Ali.

    C# database tutorial question css design

  • Design Optimization
    H hatim_ali

    1. Even if the controls are important you can create a wizard sort of User Interface by logically breaking up controls on several screens. 2. You can either create controls at runtime at some instance and then creating adding controls to your form dynamically. This will speed up your form initialization because you are not creating all 100-150 controls at form load. hope it helps.... best regards, Hatim Ali.

    C# performance design algorithms tutorial question

  • Web.Config Changes
    H hatim_ali

    Thanks for the reply... What do you mean by restart?? Lets say i have 10 users login to my web app. and i change the web.config file. What will happen?? The sessions of those 10 users will expired and they have to relogin or something else... ??

    ASP.NET csharp asp-net question workspace

  • Singleton
    H hatim_ali

    hi, I need a global store for storing error messages. It could be done using singleton. Now whats the difference between the following two. 1. Implement singleton pattern. 2. Creat a class. Make its contructor private. Expose the functionality using static functions. In singleton pattern a single object is created but in 2nd approach no object is created. Which approach is better ?? Thanks...

    C# regex help question

  • using dlls
    H hatim_ali

    class library is what you are asking...

    C# csharp tutorial

  • using system.xml
    H hatim_ali

    You can either use XmlDocument Class or XmlTextReader / XmlTextWriter Classes for reading/writing XML other than dataset. hope it helps

    C# xml

  • Web.Config Changes
    H hatim_ali

    Hi, An ASP.Net application is running on a webserver. Now i change the configuration setting in web.config file. When the application will reflect configuration changes in web.config ? Regards.

    ASP.NET csharp asp-net question workspace

  • Exception on Response.Redirect
    H hatim_ali

    Hi, Doing Repsonse.redirect causes an Exception with following message "Thread was being aborted". Do some one has any explanation for this ?? I need to catch any runtime error that occured and then redirect to a generic error page and in case of no error redirect user to another page. Now every time i do Response.Redirect, even on clean(no errors) execution, i got this exception. How to avoid this ?? Thanks in Advance, Regards.

    ASP.NET help tutorial question

  • XSLT refererring attributes
    H hatim_ali

    Hi, I have some XML generated on fly. I only know the names of elements. The attributes in those elements can have different names in different scenarios. Even the number of attributes in those elements may differ. Can i write a single XSLT to convert these dynamically generated XML into my desired format ?? Note: I do know at design time the name of elements, but i don't know the name of attributes and number of attributes in the element. This could be done in programming languages by looping through all the attributes. Can this be done in XSLT ?? Thanks in advannce, Hatim Ali.

    XML / XSL xml design question

  • Value Type vs. Ref Type
    H hatim_ali

    Hi, Which one is faster ?? Value Type or Reference Type. Regards, Hatim Ali.

    C# visual-studio question
  • Login

  • Don't have an account? Register

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