Search

You searched for the word(s): userid:698370

Matching Posts

  • Read interface details from dynamically loaded assembly

    Hi, We loading and executing an assembly dynamically from code. While reading a dynamically loaded assembly how can we find an interface within the assembly which is marked (decorated) by another class like below <ExternalDataExchange()> _ Public Interface IwfService Event firstEvent As EventHandler(Of ExternalDataEventArgs) End Interface Here how can we find that we have interface "IwfService" which is marked with "ExternalDataExchange()" class. Please advice. regards Sreejith
    Posted to Visual Basic .NET (Forum) by sreejith77 on 11/16/2009
  • Post a ASP.NET web page from desktop application

    Hi, We have an ASP.NET web page that receives a set of user details and when user clicks the 'Save' button, page will be posted back and data will be saved into DB. How can we initiate same process from a .NET desktop application. We need to post the same ASP.NET page with a new set of user details from our windows based application. regards Sreejith
    Posted to Free For All (Forum) by sreejith77 on 7/3/2009
  • Re: Read embeded XML file from DLL

    This issue has been resolved. We can use 'GetManifestResourceStream' method of an assembly to get the resource files embedded into an assembly. Dim returnValue As System.Reflection.Assembly = System.Reflection.Assembly.Load(assemblyBinaryStream) Dim xmlStrm As System.IO.Stream = returnValue.GetManifestResourceStream('nameofEmbeddedResource.xml') Dim xmlDoc As New System.Xml.XmlDocument xmlDoc .Load(xmlStrm) After this xmlDoc will be loaded with the contents of XML file embedded within
    Posted to C# (Forum) by sreejith77 on 6/10/2009
  • Read embeded XML file from DLL

    Hi, We created a class library project and embeded and XML file into the project by changing 'Build Action' property to 'Embeded Resource'. We could see the embeded xml file as a resource within the dll using a Reflection tool. Now we need to read the contents of this embeded XML file from an another application, that uses the DLL. How can we achieve this? Please advice. regards Sreejith
    Posted to C# (Forum) by sreejith77 on 6/9/2009
  • call a method in a dynamically loaded assembly

    Hi, We have dynamically loaded an assembly into application memory using 'Assembly.Load()' method. Now we need to execute a method within a class in the dynamically loaded assembly after passing its parameters. How can we acheive this? regards Sreejith
    Posted to C# (Forum) by sreejith77 on 6/9/2009
  • Re: Fire Button click event from Javascript

    We have resolved this issue. Since the control is a server side button by default it will be rendered into the page as Html control of type 'Submit'. So typically the button will become a submit control that doesn't need any __doPostBack. If we change the type of the control to 'button' from 'Submit' __doPostBack will work. For this change 'UseSubmitbehaviour' of the Server button to false. Thanks atulthummar for your reply
    Posted to Client Side Web Development (Forum) by sreejith77 on 5/22/2009
  • Extended Panel control with a property to accept a control

    Hi, We need to extend a Panel control with one of the property in the extended control should accept a server side control (can be Linkbutton, Button, Imagebutton) etc which is defined in the aspx page. This property should work like 'ControlToValidate' property within a Validator control. How can we create such property within an extended control which can accept multiple type of button controls. Please advice. regards Sreejith
    Posted to Web Forms (Forum) by sreejith77 on 5/22/2009
  • Fire Button click event from Javascript

    Hi, How can we fire a Serverside button click event from javascript. We tried using __doPostBack as shown below within javacript, the page get postbacked but button event not got fired. How can we achieve this? function ClientButton_onclick() { __doPostBack('ctl00_ContentPlaceHolder1_ServerButton','') } regards Sreejith
    Posted to Client Side Web Development (Forum) by sreejith77 on 5/22/2009
  • Re: Embedding JS files into dll. PerformSubstitution not working

    This has been resolved. We need to mention 'PerformSubstituion' within AssemblyInfo.vb as below <Assembly: System.Web.UI.WebResource("button_left_disable.gif", "image/gif", PerformSubstitution:=True)>
    Posted to Web Forms (Forum) by sreejith77 on 5/11/2009
  • Embedding JS files into dll. PerformSubstitution not working

    Hi, We need to embed JS file in our extended control dll and within this JS we are using images, thats again embeded within the dll. We added following line into our AssemblyInfo.vb file <Assembly: System.Web.UI.WebResource("icon-minus.gif", "image/gif", True)> Each time when we compile the application we are getting error telling that "Too many arguments to 'Public Sub New(webResource As String, contentType As String)". If we remove the third parameter (parameter
    Posted to Web Forms (Forum) by sreejith77 on 5/11/2009
Page 1 of 25 (249 items) 1 2 3 4 5 Next > ... Last »