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

Mohammed Elkholy

@Mohammed Elkholy
About
Posts
92
Topics
68
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • javascript with usercontrol
    M Mohammed Elkholy

    hi all i try to make slid show and i use it in a usercontrol it works well but i want to get the image array from cs file here is the code <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="JavaHomePhotoAlbum.ascx.cs" Inherits="taboukproject.UserControls.JavaHomePhotoAlbum" %> <script type="text/javascript" src="../Scripts/dropinslideshow2.js"> </script> <div style="width: 205px; height: 180px;" align="right"> <script type="text/javascript"> //Define Image Array. Syntax: ["image_path", "url_destination", "url_target"] var myimages=new Array(); myimages[0]=["../Images/TabukImages/castle1.jpg", "", ""] myimages[1]=["../Images/TabukImages/castle2.jpg", "http://www.dynamicdrive.com", ""] myimages[2]=["../Images/TabukImages/castle4.jpg", "http://www.javascriptkit.com", "_new"] //Create new drop-in slideshow //Syntax: new dropinslideshow(image_array, slideshow_width, slideshow_height, delay_before_rotation) new dropinslideshow(myimages, 200, 160, 3000) </script> </div> please i want to know how can i atchive it i try this code but not working var myimages=new Array(<%ImagesArray(); %>); the method ImageArray returns arraylist but i can't see it inside the script even i set the method to public

    MD_NADA

    ASP.NET javascript csharp com data-structures tools

  • Textbox Focus with ajax timer
    M Mohammed Elkholy

    the timer used for displaying the news i change the news title and news image in the timer ticke so when the news change i lose the focus of textbox

    MD_NADA

    ASP.NET help

  • Textbox Focus with ajax timer
    M Mohammed Elkholy

    i am sorry i didn't descrip my case well but my homepage has many usercontrol some of these controls included ajax timer and in my home page i have 1 control for search and one control for login if i write in search textbox it is easy until the timer ticker work i lose the focus of textbox and i cant continue write in textbox and the samler to login textbox i hope i descrip it well

    MD_NADA

    ASP.NET help

  • Textbox Focus with ajax timer
    M Mohammed Elkholy

    Dear all i have a page included ajax timer and textbxo while i focus and write in textbox i lose the focue when the time ticke work and i should set the textbox focus to continue writting and i lose it again when the timer work i need help for this i want finish writting in textbox while the timer working thanks for help

    MD_NADA

    ASP.NET help

  • Display text label over image control
    M Mohammed Elkholy

    Dear all i want to a label on image control this label will display a dynamic text about the image but i should be a image control becose the imageur will be dynamic and the image will change in a timer so i want to display the label over the image control to display a text about the image thanks for help

    MD_NADA

    ASP.NET help

  • get value from popup window
    M Mohammed Elkholy

    i write a method retun string in cs file and i call this method in javascript function but it gev me error here is the code <script language=jscript type="text/javascript" >          function SetDate()          {                  window.opener.document.getElementById("txt_Date").value=<%GetSelectedDate();%>;          }       </script>

    MD_NADA

    ASP.NET javascript tools help

  • WPF DatePiker
    M Mohammed Elkholy

    i mean the .net framwork and the WPFToolKite.dll is on the same path of the application exe

    MD_NADA

    C# csharp wpf help

  • verification image
    M Mohammed Elkholy

    hi , i try to draw a virification image on my page and i try some code and it worked alleady but the problem is all controls on the page not display i want to draw this but without i lose the page controls here the code i wrote // Initialize graphics Rectangle rectF = new Rectangle(0, 0, 100, 150); Bitmap pic = new Bitmap(100, 150); Graphics g = Graphics.FromImage(pic); g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias; g.FillRectangle(new SolidBrush(Color.White), rectF); //g.DrawRectangle (Pens.Aqua , rectF); Font font = new Font("Times New Roman", 12); // Set font direction & alignmentString StringFormat format = new StringFormat(); format.Alignment = StringAlignment.Center; // Finally, draw the font g.DrawString(GenerateRendomText(), font, System.Drawing.Brushes.Black, rectF, format); //Response.ContentType = "image/jpeg"; // Set the content type Response.ContentType = "image/gif"; // Output the image to the OutputStream by using the Save method pic.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Gif); // Dispose objects pic.Dispose();

    MD_NADA

    ASP.NET graphics help

  • WPF DatePiker
    M Mohammed Elkholy

    yes i install the framework and the application run on the pc but the problem is there is a window included DatePiker when i call this window this window can't open and make error and it drop the application Note: the WPFToolKite.dll already at the same path of the exe file i hope i descripe it well

    MD_NADA

    C# csharp wpf help

  • WPF DatePiker
    M Mohammed Elkholy

    no the second PC dosen't have the enviroment just i deploy the application on it but i installed the prerequisites

    MD_NADA

    C# csharp wpf help

  • WPF DatePiker
    M Mohammed Elkholy

    Hello evrybody i installed WPF ToolKit the i create a window and i used the wpftoolkite datepiker on this window it works well on my pc , but when i try to run the application on another PC this window cann't load , if i remove the datepiker from the window it works well i don't know what can i do for it even the WPFToolkit.dll allready in the same path of the exe file it is not working with another pc thanks for help

    MD_NADA

    C# csharp wpf help

  • TreeView Nodes
    M Mohammed Elkholy

    thanks for your replay but i need the nodes hiden i cant remove it becouse i depend on it in my code

    MD_NADA

    C# help

  • TreeView Nodes
    M Mohammed Elkholy

    Hello everybody i have a treeview it has set of nodes , i want to set some of them visable to false , but i can't find visable or enable proprty what can i do please thnks for help M.Elkholy

    MD_NADA

    C# help

  • How To Get Hard Disk Drivers
    M Mohammed Elkholy

    hi , i would like to get the drivers of hard disk but i dont know how can i achive this thanks for help

    MD_NADA

    C# help tutorial question

  • GridViewColumn
    M Mohammed Elkholy

    thanks for reply but this not working in fact the GridView Bind to CollectionView and i want to fill the combobox in GridView by the binding to anothet table , i know how can i do this in windows forms but in WPF i see i can set binding in xaml i hope i show this point clearly

    MD_NADA

    WPF wpf csharp wcf question

  • GridViewColumn
    M Mohammed Elkholy

    hi evrybody i try to do task by WPF for trying the work with WPF enviroment i try to add combobox in gridview but i dont know how can i bind or fill combobox in xaml i wrote this but not enough <ListView Width="Auto" ItemsSource="{Binding}" Height="Auto" IsSynchronizedWithCurrentItem="True"> <ListView.View> <GridView> <GridViewColumn Header="Gender ID" Width="120"> <GridViewColumn.CellTemplate> <DataTemplate > <TextBox Margin="0,0,0,0" Text="{Binding Path=GenderID}" Width="100"></TextBox> </DataTemplate> </GridViewColumn.CellTemplate> </GridViewColumn> <GridViewColumn Header="Gender Type" Width="120"> <GridViewColumn.CellTemplate> <DataTemplate> <ComboBox Name="Combo_Type" ItemsSource="{Binding Source={}" DisplayMemberPath="{Binding Path=GenderType}" Width="100"></ComboBox> </DataTemplate> </GridViewColumn.CellTemplate> </GridViewColumn> </GridView> </ListView.View> MD_NADA

    WPF wpf csharp wcf question

  • monitor and control screen from anothe machine
    M Mohammed Elkholy

    thanks for your replay i will send you a workflow but i need to know the technice i should use for this idea i hope i can get an example for my wish

    MD_NADA

    C# question

  • monitor and control screen from anothe machine
    M Mohammed Elkholy

    hi evrybody i have an idea i would like to achive it but i dont know what is the technic i should use i want to make a screen for registring the entrance of cars in parking and i finish developing of read ticket by barcode and capture the car image and evrything is ok with me but the idea is how can i fource user to dont save the data befor the admin set the aprove for saving , so should the admin watch the life change of this screen and aprove the data then the user can save i mean i want the admin see and control the screen from his machine while the user registar the data from his machine i hope it can be clear

    MD_NADA

    C# question

  • label text marquee
    M Mohammed Elkholy

    i am sorry maybe my question was not clear but i depended on this posts not for ASP.NET i work with desktop application and i want the label text like marquee in web (HTML) i hope it is clear now thanks for ur reply

    MD_NADA

    C# html help

  • label text marquee
    M Mohammed Elkholy

    hi everybody i want to set label text move like marquee in html thanks for help

    MD_NADA

    C# html help
  • Login

  • Don't have an account? Register

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