Search

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

Matching Posts

  • Convert a ascx user control into a custom control

    Hi all David Ebbo describs in one of his posts how to convert a ascx control into a custom control. (http://blogs.msdn.com/davidebb/archive/2005/10/30/487160.aspx) It works fine but I have some troubles with the localisation. I make following steps : - create a new project asp.net web application - create a ascx control - create a web deploment project - create a local resource file for strings - rebuld the solution - merge the assemblies wit ILMerge - use the assembly in a other project. The problem
    Posted to Custom Server Controls (Forum) by joschua on 7/12/2006
  • LoadReportDefinition dynamicly

    Hi all I created a Webform with an Reportviewer control and use the following code : using (TextReader strReader = new StreamReader(@ "c:\tmp\Reports\Report1.rdl" )) { rpvReport.ServerReport.ReportServerUrl = new Uri(@ "http://myserver/reportserver" ); rpvReport.ProcessingMode = Microsoft.Reporting.WebForms.ProcessingMode.Remote; rpvReport.ServerReport.ReportServerCredentials = new ReportServerCredentials( "myUserName" , "myPassw" , "ServerNameAsDomain" ); rpvReport.ServerReport.LoadReportDefinition
    Posted to SQL Server Reporting Services (Forum) by joschua on 7/6/2006
  • Re: How the relative link is translated to absolute link in ASP.NET?

    hi rfurdzik asp.net don't translate any link like your example. the html output in the browser ist the same than you tipped in, except the code in the <% %>. if you are using the runat=server attribute, the "a" tag is translated on server side. josch
    Posted to Custom Server Controls (Forum) by joschua on 5/11/2006
  • Re: Web User Control Activated events on main page

    hi mhariri one way ist to use the bubbleevent. in the view which wont to signal a change, use the: RaiseBubbleEvent(this, new CommandEventArgs( "MyEventName" , "MyEventId")); In the parent (MultiView) use i.e: In this case, the "MyEventId" is a String, but it could be any object type. protected override bool OnBubbleEvent( object source, EventArgs args) { if (args is CommandEventArgs) { if ((args as CommandEventArgs).CommandName.Equals( " MyEventName " )) { String myEventID = (args as CommandEventArgs
    Posted to Web Forms (Forum) by joschua on 5/11/2006
  • Re: Simple question on <%#Eval( )%>

    hi serioga try this code : <asp:TextBox Id="txtInfo" runtat="server" Visible= <%#Show%> /> josch
    Posted to Web Forms (Forum) by joschua on 5/11/2006
  • Re: accessing veriable in codebind

    hi mimo I don't know the best solution of this problem but I know a workaround: ... style= <%# " background-image:url ("+ Basis.ImageLocation + "newdesign/vertialline.jpg)" %>..... josch
    Posted to Web Forms (Forum) by joschua on 5/10/2006
  • Re: dll in asp.net

    hi amit what do you want to do with this code ? check if a username an a passwort in an valid combination ? I think i'ts not the right wa to do this. Compare the the username and passwort in the sql staement od better use stored procedure for the check. then you don't have to loop thrue the resultset. another input : if (n.Equals((dr.GetString(0)).ToString()).... dr.GetString(0) allready gets a string, its not nesseary to call the ToString() method. josch
    Posted to Getting Started (Forum) by joschua on 5/10/2006
  • Re: How to do a language switch in a master page.

    You can use a virtual directory in the iis and point it to an common folder for all langauge depend pages. e.g /en/yourPage.aspx /es/yourPage.aspx the directory structur could be : \bin \common\yourPage.aspx \controls\..... to switch the language read the current page, create some links to the current page and prepend the different langauge codes to the links. - for a first-time visitor, read whose language from the request - to redirect a visitor to the last visited language, use a coockie - if
Page 1 of 1 (8 items)