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
P

psmukil

@psmukil
About
Posts
40
Topics
21
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Selecting Images in aspx page
    P psmukil

    Hi, Im doing a module which looks similar ot MS word. Like, we can draw images like BOX, CIRCLE, ELLIPSE by selecting the images from the tool bar. Those thins are coimpleted. Now i want to select all the images which has been drawn on the shart, like selector box ir by draggind mouse over all the images and select all the images under the dragged rectangle image. Everything has been done using java script to draw images. If any one has any ideas please let me know. Regards Mukilan.

    ASP.NET java tools

  • Handling System.Runtime.InteropServices.ExternalException] {System.Runtime.InteropServices.ExternalException} System.Runtime.InteropServices.ExternalException in .Net
    P psmukil

    Hi all, Im using a windows form and on mouse down on a label i want to draw an rectangle on the label. Its working fine when the label without border. But When i have the label with border, after clicking the label for the fisrt time its throwing "System.Runtime.InteropServices.ExternalException" . and an Generic GDI+ Error. In DrawRectangle function i removed the border of the control by converting the control to a label inroder to have that BorderStyle Property. I think problem might have occured in this line of code. and its not drawing the rectangle, for the second time mouse down, its working fine and draws the rectangle properly. Whats could be the problem, Please guide me. I was struggling with this error for the past two days. Code is given below. Private Sub Label1_MouseDown(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Label1.MouseDown If CInt(Label1.Tag) = 0 Then Label1.Tag = 1 DrawRectAngle(Label1) ElseIf CInt(Label1.Tag) = 1 Then Label1.Tag = 2 Label1.Refresh() DrawCrossLine(Label1) Else Label1.Tag = 0 Label1.Refresh() End If End Sub Private Sub DrawRectAngle(ByVal ControlName As Control) Dim RectPen As New Pen(Color.Lime) RectPen.Width = 6 g = ControlName.CreateGraphics() Try If TypeOf ControlName Is System.Windows.Forms.Label Then CType(ControlName, Label).BorderStyle = BorderStyle.None End If Dim rect As Rectangle rect = New Rectangle(1, 1, ControlName.Width, ControlName.Height) g.DrawRectangle(RectPen, rect) Catch ex As Exception End Try End Sub Regards Mukilan.

    Visual Basic graphics help csharp winforms tutorial

  • Performance bet' Drawing image and loading image
    P psmukil

    Thank you very much for your reply.

    Visual Basic question csharp graphics performance

  • Performance bet' Drawing image and loading image
    P psmukil

    Hi all, Im doing a project in VB.Net and im drawing the lines and rectangle on mouse down event of a label or picture box. And im checking it for redraw.. My question is, Which is the the best way? 1. Loading the image(with cross lines with same text as before) at runtime after clicking the label control or picture box dynamically. 2. Drawing a cross lines on the label or picture box on mouse down.. Which performance will be better, I found that when the form get restored it took some time to load when i use drawing. Please guide me as its very urgent. Regards Mukil

    Visual Basic question csharp graphics performance

  • Message Box using Java Script
    P psmukil

    thank u very much for your suggestion but if i register code after checking the condition, that message box is not getting pop upped, in the browser if we click button, the "popwindow()" string is getting displayed Code is given below, private void Button1_Click(object sender, System.EventArgs e) { if (i=="file Exists") { int x= 0; int y =0; x = x+ y; StringBuilder str = new StringBuilder(); str.Append(""); str.Append("function PopWindow()"); str.Append("{"); str.Append("alert('hello world')"); str.Append("}"); str.Append(""); Page.RegisterClientScriptBlock("clientscript","PopWindow();");// Here is the problem Another Way Page.RegisterClientScriptBlock("clientscript",PopWindow()); // its giving build error as follows(without specified in the quotes) c:\inetpub\wwwroot\WebApplication1\WebForm1.aspx.cs(79): The name 'PopWindow' does not exist in the class or namespace 'WebApplication1.WebForm1' int a = 2; int z = 2; z = z+ a; } } Mukil

    ASP.NET help csharp java tools question

  • Message Box using Java Script
    P psmukil

    Hi all, Im using C# as my code behind, im having a code in the button click event where im checking whether a file is exists, if it exists then it show the confirmation message box like "file found, want to continue", but its happening if we register the script in the page load and its not checking the condition. By clciking the button itself its showing the message box. i need that script should get pop up only after the condition get satisfied. Is it possible? Please help me out to solve this problem. Thanks a lot in advance. The code is given below private void Page_Load(object sender, System.EventArgs e) { i = "file Exists"; StringBuilder str = new StringBuilder(); str.Append(""); str.Append("function PopWindow()"); str.Append("{"); str.Append("alert('hello world')"); str.Append("}"); str.Append(""); if(!Page.IsClientScriptBlockRegistered("clientscript")) { Page.RegisterStartupScript("clientscript",str.ToString()); } Button1.Attributes.Add("onclick","PopWindow();"); } private void Button1_Click(object sender, System.EventArgs e) { if (i=="file Exists") { int x= 0; int y =0; x = x+ y; Button1.Attributes.Add("onclick","PopWindow();"); int a = 2; int z = 2; z = z+ a; Response.Write(z.ToString()); } } Regards Mukilan. REgards Mukilan

    ASP.NET help csharp java tools question

  • Parent Children Form
    P psmukil

    Thanks for your reply. i will check it Mukilan.

    Visual Basic help docker

  • Parent Children Form
    P psmukil

    Hi, I have an Main.vb(MDI container) form as a parent in that im loading another form Launch.vb in the page load of main.vb. In the button click ok launch.vb form i should display a form called change.vb. So in the button click event of launch.vb form i have created an instance of the change.vb form and im showing the form. But when i assigned the top and left of the form its not taking. If i assign the CAEditor.MDIParent = Me, its giving error, because Launch is not an MDI Container. The code written in the Launch.vb form button click event. Its working fine but the top and left locations are not taking. and its showing the form in different location. Dim CAEditor As New frmChange CAEditor.ShowInTaskbar = False ''''''''CAEditor.MDIParent = Me CAEditor.Left = 310 CAEditor.Top = 82 CAEditor.ShowDialog(Me) How i can assign the location of Change.vb the form in the button click of Launch.vb. If i specify the location in the page load of Change.vb its working fine, but i need to specify in the click event of launch.vb. Please any one help me out to solve this problem, thanks in advance. Regards Mukil.

    Visual Basic help docker

  • Required Field Validator - Diffferent Issue
    P psmukil

    Hi Mark, Thank you for your reply, You mean to say that, I should disable the validation control in the USPage2.ascx in the USPage1.ascx. Similarly while loading the USPage2.ascx, i should disable the validation control in UsPAge1.ascx, Is it like this or in you mean it in different way? Please guide me. Regards Mukilan.

    ASP.NET help

  • Required Field Validator - Diffferent Issue
    P psmukil

    Hi all, Im having a page called MyPage.aspx, in that im having web control tabstrips (4 tabs) and in each tabstrip im loading an user control like USPage1.ascx, USPage2.ascx etc., Im using an Validation summary in the USPage1.ascx and some requirefield validator control and validation done properly. When i use required field validator in USPage2.ascx and im moving from first tab to secon tab using next button, Validation message in the second page is displyed in the first USPage1.ascx. I was struggling a lot to solve this issue. Please anyone can help me out in solving this issue. For tha past one day i was trying to fix this bug. Thanks in advance. Mukilan.P.S

    ASP.NET help

  • Adding CheckBox control at runtime
    P psmukil

    My problem is, In button click i need to add button as many as i want. But Once the control is adding, because as you said postback and page rendering. How to avoid this. Please help me out. The code is given below, I have tried with html table and adding rows and cells within rows. TextBox txtName = new TextBox(); txtName.ID = "txtName"; txtName.Visible = true; txtName.Width = 150; txtName.Text = "Check"; PHItem.Controls.Add(txtName); Using Table: HtmlTableRow htrow = new HtmlTableRow(); HtmlTableCell htcell = new HtmlTableCell(); TextBox txtName = new TextBox(); txtName.ID = "txtName"; txtName.Visible = true; txtName.Width = 150; txtName.Text = "Check"; htcell.Controls.Add(txtName); htrow.Cells.Add(htcell);

    ASP.NET csharp help javascript asp-net tutorial

  • Adding CheckBox control at runtime
    P psmukil

    How to add a checkbox control at runtime in a Panel using placeholder or wihtout using ph. I have added the control, but controls are added on the same location i think. So its showing a single control. Is it possible to do it in the Javascript function.so that there will be no page rendering. Wherein in a windows application we can specify the location.Im using ASP.Net 2.0 and C# as code behind. Plese help me to solve this problem. Thanks in advance. Its a urgent requirement. Help me out. Regards Mukil.

    ASP.NET csharp help javascript asp-net tutorial

  • hellp me _atlas
    P psmukil

    Dear Biscolussi Im also working with Atlas. Im new to this technology. Can u please guide me in working with ATLAS. I have an ASPX page, i want to implement ATLAS in that page. Requirement is to add add controls at runtime. can u please give me your mail id. Please i need help to implement ATLAS. Waiting for your reply. Regards Nukil

    ASP.NET wpf wcf sysadmin tutorial question

  • Fixing the Size of Table in Master Pages
    P psmukil

    Hi, Im using Master Pages which is having a header, footer and contentplace holder. When i load a login page in Materpage, then the footer will go up and its not fitting to the screen. If the loading page is bigger then its getting expaneded, thats not a problem, but if the page is small then its shrinking. How to overcome this problem.Please give me a solution The Master page code is given below Untitled Page

    Welcome to FamilySpace!

    SDS

    [Free Download] | [FamilySpace] | [Customer Support]| [About Us]| [Terms of Use] | [Privacy Policy]

    Mukil.

    ASP.NET sales help tutorial

  • ATLAS in ASP.Net
    P psmukil

    Thanks for the link, ya it was helpful for me. Regards Mukilan.

    ASP.NET tutorial csharp asp-net help

  • ATLAS in ASP.Net
    P psmukil

    Thanks for the guidance. But my requirement is to use ATLAS, thats y.

    ASP.NET tutorial csharp asp-net help

  • ATLAS in ASP.Net
    P psmukil

    Hi Im new to use this type of AJAX interactivty with ASP.Net. My requirement is to use the MS ATLAS. Can anyone please guide me how to implement ATLAS in .Net 2.0. I have to implement this ATLAS as early as possible. As of now there is no much materials availabe in Net except MSDN and atlas.asp.net. Can any one please help me out to know the bassic requirement of ATLAS in ASP.Net. Please reply me and help me out to know more about implementing ATLAS and its uses. Regards Mukilan

    ASP.NET tutorial csharp asp-net help

  • Adding control at runtime and change the cursor style on mouse over
    P psmukil

    In the button click im adding a text box control. But text box is added only once. whenever button click event occurs, one more textbox should be added in the html table which is already present. I made that html tabel to run at server and rows and columns. By default, i have a text box in the table. But the new text box should be added above the control which already pressent protected void btnAdd_Click(object sender, EventArgs e) { //this.createControls(); HtmlTableRow htrow = new HtmlTableRow(); HtmlTableCell htcell = new HtmlTableCell(); TextBox txtName = new TextBox(); txtName.ID = "txtName"; txtName.Visible = true; txtName.Width = 150; txtName.Text = "Check"; txtName.BorderWidth = 0; txtName.Attributes.Add("onmouseover", "alert('hi');"); htcell.Controls.Add(txtName); htrow.Cells.Add(htcell); ItemRow.Controls.Add(htcell); ListTable.Visible = true; htcell.Visible = true; //htrow.Visible = true; }

    ASP.NET csharp help asp-net tutorial

  • Adding control at runtime and change the cursor style on mouse over
    P psmukil

    How to add a textbox control at runtime in a Panel and how to add a onmouseover event for the textboxes to change the cursor style. I have added the control, but controls are added on the same location i think. So its showing a single control. Wherein in a windows application we can specify the location. Im using ASP.Net 2.0 and C# as code behind. Plese help me to solve this problem. Thanks in advance. Its a urgent requirement. Help me out. Regards Mukilan.P.S

    ASP.NET csharp help asp-net tutorial

  • Live Clock in asp.net
    P psmukil

    Hi Kirthi I hope the following link will help you, dont know whether you have visited this link already. http://javascriptkit.com/script/cutindex1.shtml http://javascriptkit.com

    ASP.NET csharp javascript html asp-net 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