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
M

Mr Sam

@Mr Sam
About
Posts
61
Topics
34
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Changing the Language of windows through asp.net
    M Mr Sam

    I have an web application and want to write urdu in a textbox. I have achieved it in desktop but want to achieve it in asp.net The code which i used in desktop is:

    InputLanguage.CurrentInputLanguage = InputLanguage.FromCulture(Application.CurrentCulture);
    InputLanguage.CurrentInputLanguage = InputLanguage.FromCulture(new CultureInfo("ur-PK"));

    Please help.

    Bye

    modified on Sunday, January 11, 2009 2:20 PM

    ASP.NET csharp asp-net help

  • scrollbar in panel
    M Mr Sam

    Hi all... Im dynamically adding data to a label which is placed in a panel. but the problem is that as the label fills up the panel length increases leading to scrollbars. I want the scrollbar to be to be pointing at the end of the panel. Here is the code sample

    <asp:Panel ID="Panel1" runat="server" BackColor="White" BorderColor="CornflowerBlue"
    BorderStyle="Solid" BorderWidth="1px" Height="250px" ScrollBars="Auto" Width="100%" CssClass="filter">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
    <ContentTemplate>
    <asp:Label ID="Label3" runat="server" BackColor="White"></asp:Label>
    </ContentTemplate>
    <Triggers>
    <asp:AsyncPostBackTrigger ControlID="btnSendMsg" />
    <asp:AsyncPostBackTrigger ControlID="Timer1" />
    </Triggers>
    </asp:UpdatePanel>
    </asp:Panel>

    Bye

    ASP.NET sysadmin architecture help

  • Multiple languages support
    M Mr Sam

    Hi all.. Im developing an asp.net application which requires users to posts their messages in english or arabic language. For this purpose i require someone to guide me to any good rich text box and how to enable support for arabic language in it. Ive tried to use freetextbox but did not get sufficient support of how can i write arabic in it. Please help me. Thanks in advance

    Bye

    Web Development tutorial csharp asp-net help question

  • Writing Arabic
    M Mr Sam

    Hi All... I am making an application which require to write news in mixed font. I am using Freetextbox for this purpose. Can anyone plz guide me how to get the support for arabic font, how to install it and how to use it. Please guide me if there is any other resource as well. Thanx

    Bye

    ASP.NET tutorial announcement learning

  • Page redirection
    M Mr Sam

    public void Init(HttpApplication context) { (IsDisposed) { can you please tell me how to get the httpApplication context in my page_init parameters or if it is a method when shud i call it and what parameter shud i pass in it

    Bye

    ASP.NET question

  • Page redirection
    M Mr Sam

    Prateek G wrote:

    public void Init(HttpApplication context) { (IsDisposed) { throw (new ObjectDisposedException(this.ToString())); }

    What is this IsDisposed, im getting error on it in vb.net. Also tell me who will set the value of the context and can I integrate it directly to the Page_Init event.

    Bye

    ASP.NET question

  • Page redirection
    M Mr Sam

    Is there a page event called when we use response.redirect to redirect to any other page? The reason is that i want to perform some actions just before the page is redirected. Thx in advance

    Bye

    ASP.NET question

  • Dynamic update panels
    M Mr Sam

    I am developing web parts for an application. I have all the web part zones inside of an update panel, but this doesn't really exploit the capabilities of the update panels. Is there a possible way to have each webpart in its own update panel. I really need a code example of how to do this.

    Bye

    ASP.NET tutorial announcement

  • Close using Java Script
    M Mr Sam

    Yes im getting the client id of the webpart itself. and its style is also set as display =none but how can i close it so it may be available in design view Cutting short... Is there a way to implement close and minimize verb using javascript on client side. For instance you can see... www.smartjungle.com Please answer... -- modified at 7:29 Thursday 15th November, 2007

    Bye

    ASP.NET java tools

  • Close using Java Script
    M Mr Sam

    Hi All... I am using webparts and i have defined a verb and assigned it a client side event as its handler. Now i want to close this webpart using its id at clientside. I am giving the script im using to set its display to none. But it is not sufficient. I want to close it. function ClientClose(webPartID) { alert( "You clicked the following web part: " + webPartID + "." ) ; document.getElementById(webPartID).style.display="none"; }

    Bye

    ASP.NET java tools

  • WebParts...
    M Mr Sam

    Is it possible to have a complete webpart along with its close and minimize button in an updatepanel. so if we minimize it or close it then just it could get refreshed not the whole zone it is placed in, which is the current scenerio. I have currently placed the whole zone in the update panel. I am also including a link of the site where you can see what i want ... http://www.smartjungle.com/Demos.aspx

    Bye

    ASP.NET com announcement

  • Getting a page object
    M Mr Sam

    Hi All... I have a url which refers to a complete path of a webpage in my solution. Is there a way to get an instance of a page, so I can check the masterpagefile of that page to solve a problem.

    Bye

    ASP.NET help

  • Firefox script
    M Mr Sam

    I am using document.scripts[i].src = "TreeClientBehaviour.js" in IE. What is its alternative in firefox.

    Bye

    ASP.NET javascript tools question

  • Iterate through Table Rows in sql
    M Mr Sam

    Is it possible to iterate through a table or a temporary, because i have to add a temporary column and insert different values for each row according to condition to return a comma separated value. I show a rough sketch what i want to do. Select SAP.LoginName,var="--Some Very Long Query according to a criteria within the rows of a table like where Test.Folder_ID=CM.Folder_ID--" From dbo.sysCommunicatorMessages CM Inner Join dbo.sysAppLogins SAP On CM.MESSAGEFROM = SAP.LOGIN_ID where "--Some Criteria--" and CM.Folder_ID<>-2 I have used functions to solve the problem but they are currently not acceptable.

    Bye

    Database database help

  • "The state information is invalid for this page or might be corrupted."
    M Mr Sam

    occurs when i do postbacks. I wait until the page is loaded but when i do it time and again i get it in firefox. I have to fix this error for firefox.

    Bye

    ASP.NET help

  • "The state information is invalid for this page or might be corrupted."
    M Mr Sam

    Is there a way to overcome the "The state information is invalid for this page or might be corrupted." error in firefox

    Bye

    ASP.NET help

  • Decimal(18,2) Regular Expression
    M Mr Sam

    Will it be restricting the value to maximum 16 digits before decimal? -- modified at 5:16 Monday 22nd October, 2007

    Bye

    ASP.NET regex

  • Decimal(18,2) Regular Expression
    M Mr Sam

    Hi all, Can anyone tell me a regular expression to validate a decimal(18,2). Thanks

    Bye

    ASP.NET regex

  • Downloading file in firefox
    M Mr Sam

    I am using the streamwriter to write the file. In start.... l_strFilename = Server.MapPath("../../" + MZKBase._SysGenExcelFilePath + l_strGuid & ".VCS") Dim l_oWriter As System.IO.StreamWriter = New System.IO.StreamWriter(l_strFilename) l_oWriter.WriteLine("BEGIN:VCALENDAR") l_oWriter.WriteLine("PRODID:-//Microsoft Corporation//Outlook MIMEDIR//EN") l_oWriter.WriteLine("VERSION:1.0") l_oWriter.WriteLine("BEGIN:VEVENT") l_oDueDate = TimeZone.CurrentTimeZone.ToUniversalTime(l_oDueDate) l_oString.Append("DTSTART:") l_oString.Append(AppendZero(l_oDueDate.Year.ToString())) ...Rest of the File... l_oWriter.WriteLine("PRIORITY:3") l_oWriter.WriteLine("END:VEVENT") l_oWriter.WriteLine("END:VCALENDAR") l_oWriter.Close() And in the end l_oString = New Text.StringBuilder l_oString.Append(" Save As
    ") To show the link saveas...

    Bye

    ASP.NET csharp

  • Downloading file in firefox
    M Mr Sam

    How can i define the mime type .. Please give me the hint. for example if i use streamwriter to in a txt file, how can i define it as .txt. By the way i append .vcs in the link which downloads the file and also in the file appending "PRODID:-//Microsoft Corporation//Outlook 12.0 MIMEDIR//EN" thx -- modified at 10:18 Sunday 9th September, 2007

    Bye

    ASP.NET csharp
  • Login

  • Don't have an account? Register

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