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
K

Kanjinghat

@Kanjinghat
About
Posts
64
Topics
33
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • serialization
    K Kanjinghat

    childpage.aspx is my aspx page. private static string GetSerialized(object objToSerialize) { BinaryFormatter bFormatter = new BinaryFormatter(); MemoryStream mStream = new MemoryStream(); byte[] brTemp; string strSerializedObject; try { bFormatter.Serialize(mStream, objToSerialize); brTemp = mStream.ToArray(); strSerializedObject = Convert.ToBase64String(brTemp); return strSerializedObject; } catch(Exception ex) { return null; } finally { bFormatter = null; mStream = null; brTemp = null; } } the above method helps me to serialize the objects. when i call GetSerialized(this) in my aspx page it is throwing the below exception ex {"Type 'ASP.childpage_aspx' in Assembly 'App_Web_wzfanznh, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable."} System.Exception {System.Runtime.Serialization.SerializationException} do you have any idea about this? thanks and regards

    Ramesh.Kanjinghat

    ASP.NET json question

  • serialization
    K Kanjinghat

    Dear All, can i serialize an aspx page object? not the code behind class but the page object itrself thanks in advance

    Ramesh.Kanjinghat

    ASP.NET json question

  • iframes
    K Kanjinghat

    Dear All, i have parent aspx page that have two controls, iframeParent and a buttonParent. i have given child aspx page as the source of iframeParent control. child page has a buton control buttonChild. now my requirement is when i click the button(buttonParent)in the parent page the click event of the button(buttonChild)of child page should be called. is there any way to do this? Thanks in advance

    Ramesh.Kanjinghat

    ASP.NET question

  • BasicHttpBinding with WCF client
    K Kanjinghat

    I located what the actual problem is. i am configured basicHttpBinding at server side and wsHttpBinding at client side. i have changed the client side binding to basicHttpBinding and it is working fine now. Thanks for your concern Joachim

    Ramesh.Kanjinghat

    WCF and WF wcf csharp xml help wpf

  • BasicHttpBinding with WCF client
    K Kanjinghat

    Dearc All, i have a set of WCF services self-hosted. I have a WCF client too that access all these service. When i use WSHttpBinding then vs2003 applications are not able to acess these services, so changed the binding to BasicHttpBinding. now the WCF client fails to access the services. WSHttpBinding is not working with previous version client BasicHttpBinding is not working with the WCF client WSHttpBinding _WCFSampleServiceHost.AddServiceEndpoint(typeof(ISampleService1), new WSHttpBinding(), "SampleService1");_ ServiceMetadataBehavior WCFsmb = new ServiceMetadataBehavior(); WCFsmb.HttpGetEnabled = true; WCFSampleServiceHost.Description.Behaviors.Add(WCFsmb); BasicHttpBinding _WCFSampleServiceHost.AddServiceEndpoint(typeof(ISampleService1), new BasicHttpBinding(),"SampleService1");_ ServiceMetadataBehavior WCFsmb = new ServiceMetadataBehavior(); WCFsmb.HttpGetEnabled = true; WCFSampleServiceHost.Description.Behaviors.Add(WCFsmb); Given below the error message Content Type application/soap+xml; charset=utf-8 was not supported by service http://dev678/WCFSampleService1/SampleService1. The client and service bindings may be mismatched. ---> System.Net.WebException: The remote server returned an error: (415) Cannot process the message because the content type 'application/soap+xml; charset=utf-8' was not the expected type 'text/xml; charset=utf-8'.. Can any body help me With thanks and regards,

    Ramesh.Kanjinghat

    WCF and WF wcf csharp xml help wpf

  • calling a super class method from a derived class
    K Kanjinghat

    Thanks

    Ramesh.Kanjinghat

    C# question csharp

  • calling a super class method from a derived class
    K Kanjinghat

    Dear Satips, I know very well what inheritance is. Here my problem class A has a method Method1 and Class B inherits class A and Class C inherits class B where Class C overides the Method1 and class D inherits class C. know when i call Methodi from class D the Method1 of class C will be called. but i want to call the Method1 of class A. We can use super keyword in C++. is there any thing in C# that helps us to acheive this? got this time you got it? thanks in advance

    Ramesh.Kanjinghat

    C# question csharp

  • Status bar in windows 2003
    K Kanjinghat

    Dear All, I have a aspx page which i open using showmodaldialog of javascript. i set the statusbar property to no while opening the page. it is working fine all operating systems except 2003 server, the status bar is getting displayed. is there any thing we can do hide that status bar. thanks in advance

    Ramesh.Kanjinghat

    ASP.NET javascript sysadmin

  • calling a super class method from a derived class
    K Kanjinghat

    Dear All, i have a class A. Class B derives class A and class C derives from class B and class D derives from class c. Now i need to call a method of class A from class D. is it possible? if so how can i acheive this. Is there any facility in C# that helps me to call the methods any of the classes A, B, C from class D? very urgent Thanks in advance

    Ramesh.Kanjinghat

    C# question csharp

  • HTTP Hdlers
    K Kanjinghat

    Dear all, I have developed a custom httphandler.But when i register this custom httphandler with any of my applications the controls are not getting rendered. i think it is because only one httphandler can process a web request at a time and the default asp.net httphandler is not processing the request. is there any way to get these two handlers process the request. how can i get the controls rendered even i use a custom httphandler. hope you all got my point. awating reply eagerly

    Ramesh.Kanjinghat

    ASP.NET csharp asp-net question

  • Hiding menubar, statusbar and toolbar in javascript
    K Kanjinghat

    Yes. I really want the same. is ther any way to achieve this?

    Ramesh.Kanjinghat

    ASP.NET javascript question

  • Hiding menubar, statusbar and toolbar in javascript
    K Kanjinghat

    Well, that can be done only if we open the window form the javascript. what about the scenario where i dont use the window.open ot showmodal etc.

    Ramesh.Kanjinghat

    ASP.NET javascript question

  • Hiding menubar, statusbar and toolbar in javascript
    K Kanjinghat

    I want it through javascript coding

    Ramesh.Kanjinghat

    ASP.NET javascript question

  • Hiding menubar, statusbar and toolbar in javascript
    K Kanjinghat

    Dear All, Can we hide the toolbar , statusbar and menu bar of IE while browing a web page. I am not opening the page from javascript. can we hide those details? awaiitng reply

    Ramesh.Kanjinghat

    ASP.NET javascript question

  • Intellisence
    K Kanjinghat

    Hi All, i need develop custom intellisence for a text box. Can any body help me regarding this wiating for reply

    Ramesh.Kanjinghat

    C# help

  • Parent page control
    K Kanjinghat

    Dear all, I have a page parent.aspx which contains an iframe for which child.aspx has been given as source. Now parent.aspx contains a hidden filed. mY requirement is to access this hidden field from child.aspx (server side i.e C# but not client side). Is there any way to achieve this. very urgent. awaiting reply

    Ramesh.Kanjinghat

    ASP.NET

  • WSE 2.0routing
    K Kanjinghat

    Dear All, I am working on WSE and i have done well with WSE routing sample. In my sample the router service re directs a request to another service succesfully. Now i want to know whether a single router can redirect two different requests for two different services to the concern services. My intention is that request for Service1 and Service2 have to be redirected bby a single router. If it is possible, how to achieve this. Awaiting the reply.

    Ramesh.Kanjinghat

    Web Development tutorial

  • WSE Webservice
    K Kanjinghat

    Dear All, I am working on WSE 2.0 and come around a situation where i need to develop a non WSE client which consumes a WSE 2.0 enabled web service. My client is a normal aspx page where i am trying to consume the web service through javascript code(xmlhttprequest). I have developed a SOAP message for the non wse client. For this i extracted a "request SOAP message" to the same web service from a client which makes use of WSE 2.0. i copied all this SOAP message as it is in to a client side variable and built the SOAP message for the non wse client. When i send the request it gives the error that invalid username token. Can anybody help me regarding this. Eagerly awaiting

    Ramesh.Kanjinghat

    Web Development help javascript wcf xml

  • how to get height of a page
    K Kanjinghat

    var SHeight = screen.height will give you the page height.

    Ramesh.Kanjinghat

    Web Development html tutorial question

  • popup window in javascript
    K Kanjinghat

    thanX a lot Steve. Simple but a good solution.

    Ramesh.Kanjinghat

    Web Development javascript
  • Login

  • Don't have an account? Register

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