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
V

Vsree

@Vsree
About
Posts
97
Topics
36
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Problem with Word component for spell checking
    V Vsree

    I have designed a Editor with basic format options and Spell check option. The spell check code is as follows

    Word.Application app = new Word.Application();
    app.Visible=false;
    object template = Missing.Value;
    object newTemplate = Missing.Value;
    object documentType = Missing.Value;
    object visible = true;
    object optional = Missing.Value;
    Word._Document doc = app.Documents.Add(ref template, ref newTemplate, ref documentType, ref visible);
    doc.Words.First.InsertBefore (hdnVal.Value );
    Word.ProofreadingErrors we = doc.SpellingErrors;
    iErrorCount = we.Count; doc.CheckSpelling( ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional);
    object first = 0;
    object last = doc.Characters.Count -1;
    string strTemp = doc.Range(ref first, ref last).Text;
    doc.Close(ref saveChanges, ref originalFormat, ref routeDocument);
    app.Quit(ref saveChanges, ref originalFormat, ref routeDocument);

    The problem is that, when i execute it in my system, its working fine. But when i access the same URL from another machine, the spell check dialog is not opening but , its opening in the parent system. What could be the problem? Kindly help me Thanks

    ~VSree

    ASP.NET help question

  • if img1.src="", set random image through Response.BinaryWrite()
    V Vsree

    Hi friends I have a page where an is present. Am setting the src of this image dynamically. If img1.src = "" or empty, i dont want the cross ('X') symbol to be displayed. Instead, some image which gives some meaning should be displayed. Can anyone please help me out? Thanks!

    ~VSree

    modified on Wednesday, May 21, 2008 6:48 AM

    ASP.NET help question lounge

  • Problem with iframe control
    V Vsree

    Hi In my webform(webform1.aspx), i have an iFrame control, along with with many web controls. The "src" attribute of it refers to another webform.(webform2.aspx) I want text to appear in the frame on clicking a button which fetches the value from db. Am using a session variable to hold the text to be assigned for iframe. And am using the following code in WebForm1.aspx private void Button1_Click(object sender, System.EventArgs e) { Session["Cont"] = "This is a page"; HtmlGenericControl frame1 = (HtmlGenericControl)this.FindControl("txtFrame"); frame1.Attributes["src"] = "WebForm2.aspx"; Server.Execute("WebForm2.aspx"); Response.ClearContent(); } And in WebForm2.aspx,Page_Load(..) if(Session["Cont"]!=null) { Literal1.Text = Session["Cont"].ToString(); } The problem is when i click the button in WebForm1.aspx, along with actual text, a textbox with some characters is appearing in the iFrame though there's no other control in the target(Webform2.aspx) other than Literal control. :( Please help me in finding out the actual problem and its solution. Thanks

    ~VSree

    ASP.NET help database sysadmin

  • Integrating ASP.NET 2.0 with ASP.NET 1.0
    V Vsree

    Thanks Navaneeth. But i do have a doubt. Say if i have a VS2003 project.In that can i provide a hyperlink which on clicked opens a page developed in VS2005? Please clarify.

    ~VSree

    ASP.NET csharp asp-net visual-studio help question

  • Integrating ASP.NET 2.0 with ASP.NET 1.0
    V Vsree

    Hi I have developed an asp.net application with Visual Studio 2003. Now i need to include a module which is developed using Visual Studio 2005 with that of application in Visual Studio 2003. Is it possible this way? Please help me out. Thanks in advance.

    ~VSree

    ASP.NET csharp asp-net visual-studio help question

  • Bad Data exception while decrypting a string
    V Vsree

    hi i am trying to retrieve an encrypted value from a database table and decrypt it using symmetric-TripleDES algorithm. While doing, am getting an exception as "Bad Data" at FlushFinalBlock(); i tried a lot, but in vain. Please help me to decrypt the string. (i should use TripleDES algorithm only) Thanks, Vsree

    ASP.NET database algorithms help

  • Javascript error in Blackberry simulator
    V Vsree

    Hi i have developed a Mobile web application in which i have made to display few data in ObjectList control.I have a template column as Link and on clicking,it'll move to a detail page. And below that control am having another control mobile:Command to navigate to next page...I have made the Format property of Command control to 'Link'... Am facing two problems when am trying to view this app in a Blackberry Simulator. One is when i try to click the template column's link,its throwing 'Javascript Error'. Another one is,the Command control is always displayed as Button even if the Format is made to 'Link'..But these two works fine if i view this app thro' Internet Explorer.. Can anyone help me in resloving these problems,please? Thanks ~Vsree

    Mobile help javascript question

  • ASP.NET and BlackBerry
    V Vsree

    Thanks friend Now am comfortable with designing pages in Mobile Web Application. The two links are quite useful. If anyone can help me with more samples,it would be of great help. Thanks ~VSree

    ASP.NET

  • ASP.NET and BlackBerry
    V Vsree

    Thanks ya But can u please suggest me any good articles as reference for developing this kind of applications?

    ASP.NET

  • ASP.NET and BlackBerry
    V Vsree

    Hi Am trying to develop a web application for BlackBerry. For this ,do i have to make use of ASP.NET Mobile web applications or ASP.NET web applications? Can anyone please help me in finding out this and any website for referring the same? Thanx ~Vsree

    ASP.NET

  • Web application for BlackBerry
    V Vsree

    Hi Am trying to develop a web application for BlackBerry. For this ,do we have to make use of ASP.NET Mobile applications or ASP.NET web applications? Can anyone please help me in finding out this and any website for referring the same? Thanx ~Vsree

    Mobile

  • User Based Menus....
    V Vsree

    hi For this, you can assign some priorities for the users based on their authentication level. Say, for Admin the priority can be '1',Manager be '2' etc.. and save it in the table where you save the login details. While clicking enter key of the Login page,u can check the user's Username,Password and this priority and based on that, you make the menu items disabled or their click events not to fire... This way you can do... ~VSree

    ASP.NET csharp asp-net tutorial

  • Menu bars in asp.net...........
    V Vsree

    U can use a third party control for menu called 'skmMenu'. Google it and get it...its really good.

    ASP.NET csharp html asp-net tutorial

  • how to show .00 with a number in datagridI
    V Vsree

    Add the following attribute to your bound column DataFormatString="{0:F}" it'll work ~Vsree

    ASP.NET docker tutorial question

  • how to set many datasets to a single datable using data adapter in asp.net 1.1 version
    V Vsree

    Only a dataset can have many tables. For filling a dataset, adapterObj.Fill(dataset1,"Tblname1"); adapterObj.Fill(dataset2,"Tblname2"); to access a table, Datatable dt1 = dataset1.Tables["Tblname1"]; string str = dt1.Rows[0]["Column1"].ToString().Trim(); Can u please tell your exact requirement?

    ASP.NET csharp asp-net tutorial announcement

  • Logout and back button problem
    V Vsree

    hi If you use browser back button, the page_load wont fire, because it just calls window.history.back() meaning that it goes to the last page visited. To avoid this you can have a button in your UI which on clicked goes to the home page and hence the Page_Load of it will fire. ~VSree

    ASP.NET help asp-net question

  • Adjusting height of Multipage control [modified]
    V Vsree

    hi Am using the Tabstrip and Multipage control given in http://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/overview/multipage.asp[^] Its working fine.But i need to adjust the height of each tabpage according to the content of that tab. One tab contains only 4 controls where as the other contains 10 controls. I want to set their height according to its content. In each tab,all the controls are placed inside a HtmlTable.I tried to adjust the table's height.but it didnt work. snippet is <mytab:tabstrip id="myTabStrip1" runat="server" SepDefaultStyle="background-color:#FFFFFF;border-color:#AAAAAA;border-width:1px;border-style:solid;border-top:none;border-left:none;border-right:none;" TargetID="MULTIPage1" TabDefaultStyle="color:#333333;background-color:#e8e8e8;border-color:#AAAAAA;border-width:1px;border-style:Solid;font-family:Verdana;font-size:11px;height:21;text-align:center;" width="70%" TabSelectedStyle="color:#993333;background-color:#FFFFFF;border-bottom:none;" BorderStyle="None"> <mymultipage:Tab Text="Info1" ID="tab0" ToolTip="Info1"></mymultipage:Tab> <mymultipage:TabSeparator></mymultipage:TabSeparator> <mymultipage:Tab Text="Info2" ID="tab1" ToolTip="Info2"></mymultipage:Tab> </mytab:tabstrip> <asp:CheckBox id="chk1" runat="server" Text="CheckOnce"></asp:CheckBox> Can anyone please suggest me a best way to do this? Thanks -- modified at 1:02 Tuesday 27th February, 2007

    ASP.NET com sysadmin architecture question

  • Validation in TextBox controls in asp.net
    V Vsree

    hello Write as in Page_Load() txt1.Attributes.Add("onblur","javascript:checkValid(this);"); txt2.Attributes.Add("onblur","javascript:checkValid(this);"); ....(write for all textboxes) txt40.Attributes.Add("onblur","javascript:checkValid(this);"); In javascript function checkValid(txtSamp) { if(txtSamp.value =="") alert('Please enter value'); } Here the function you are calling for all the textboxes is the same,but the arguement differs...'this' keyword refers to the textbox object for which you are calling the function(no need for the name in this function). Hope this helps you ~VSree

    ASP.NET csharp javascript asp-net help

  • EventHandler in InitializeComponent() is missing
    V Vsree

    Is there any way to avoid this problem at least to a certain extent? Because, it creates severe effects to the application, making the application an idle one!

    ASP.NET javascript question

  • EventHandler in InitializeComponent() is missing
    V Vsree

    Hi Sometimes while adding javascript code or any code in the codebehind,the event handler written in InitializeComponent() method vanishes off. I have experienced it many times in my application. What can be the reason for this and how can we avoid this? Thanks ~VSree

    ASP.NET javascript 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