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
R

RongNK

@RongNK
About
Posts
31
Topics
12
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • button in Repeater item
    R RongNK

    Thank :)

    ASP.NET com help announcement

  • button in Repeater item
    R RongNK

    Properties of btn: OnClientClick "" string PostBackUrl "" string UseSubmitBehavior true bool Why OnClientClick "" string :confused:

    ASP.NET com help announcement

  • button in Repeater item
    R RongNK

    when i use PlaceHolder instead of Repeater, the problem continue :confused:

    ASP.NET com help announcement

  • button in Repeater item
    R RongNK

    Same, it not work. Please give me a solution :)

    ASP.NET com help announcement

  • button in Repeater item
    R RongNK

    I did it, but not work :( Thank !

    ASP.NET com help announcement

  • button in Repeater item
    R RongNK

    btn.ID = "Cmd3"; Thank. I did it, but not work.

    ASP.NET com help announcement

  • button in Repeater item
    R RongNK

    When i work width tab ajax control, and in one tab, I have a Repeater:

    and in protected void rp1_ItemCommand(object source, RepeaterCommandEventArgs e) method, i add a button and it's event: Button btn = new Button(); btn.Text = "Update"; btn.Click += new EventHandler(btn_Click); ((Repeater)source).Items[0].Controls.Add(btn); void btn_Click(object sender, EventArgs e) { Response.Redirect("http://google.com"); } but when click on update button, event do not raise(btn do not drive click event). please help me ! Sorry for my english. :)

    ASP.NET com help announcement

  • Set grid background.
    R RongNK

    I have an image and i want to set grid background by it.Please help me ! Thank, sorry for my english :)

    WCF and WF css help

  • drag image
    R RongNK

    I have a grid gr and divided it into 5 row, 5 column and placed a Image in it

    Image tem = new Image();
    tem.Source = new BitmapImage(new Uri("..."));
    gr.Children.Add(tem);
    tem.SetValue(Grid.ColumnProperty,0);
    tem.SetValue(Grid.RowProperty,0);

    tem.MouseLeftButtonDown += new MouseButtonEventHandler(tem_MouseLeftButtonDown);
    tem.MouseLeftButtonUp+= new MouseButtonEventHandler(tem_MouseLeftButtonUp);
    tem.MouseMove += new MouseButtonEventHandler(tem_MouseMove);

    Now, i want to make tem_MouseLeftButtonDown, tem_MouseLeftButtonUp, tem_MouseMove to move Image from (row=i,column=j) to (row=Mouse point,column=Mouse point), in window form i can but in wpf i can't. Sorry for my english. Thank :-O

    WPF csharp css wpf

  • drag image
    R RongNK

    Can you show me how to "caught the mouse move event in each grid square". Thank :-O

    WPF csharp css wpf

  • drag image
    R RongNK

    The grid have 5 ColumnDefinitions and 5 RowDefinitions. If image i can get current Column and Row by GetValue(Grid.RowProperty) and GetValue(Grid.ColumnProperty) . But i don't know how to get current Column and Row of Mouse. If know i can SetValue. Thank !

    WPF csharp css wpf

  • drag image
    R RongNK

    In window form i can create 1 image and drag it from 1 place to another by: Image_MouseDown, Image_MouseMove and Image_MouseUp but in WPF i make 1 grid(create 5 row and 5 column) and i add child (image) to row 2 and column 2 then 1 make same events but i can't drag it. please make a solution . Thank.Sorry for my english !

    WPF csharp css wpf

  • Set Style in behind code
    R RongNK

    I have a style in XAML: <Style x:Key="ButtonWithSnapShotAndReplace" TargetType="{x:Type Button}"> <Setter Property="Button.RenderTransform"> <Setter.Value> <ScaleTransform CenterX="50" CenterY="50" ScaleX="1" ScaleY="1" /> </Setter.Value> </Setter> <Style.Triggers> <EventTrigger RoutedEvent="Mouse.MouseEnter"> <EventTrigger.Actions> <BeginStoryboard > <Storyboard> <DoubleAnimation Duration="0:0:2" Storyboard.TargetProperty="RenderTransform.ScaleX" To="3" /> <DoubleAnimation Duration="0:0:2" Storyboard.TargetProperty="RenderTransform.ScaleY" To="3" /> </Storyboard> </BeginStoryboard> </EventTrigger.Actions> </EventTrigger> <EventTrigger RoutedEvent="Mouse.MouseLeave"> <EventTrigger.Actions> <BeginStoryboard> <Storyboard> <DoubleAnimation Duration="0:0:2" Storyboard.TargetProperty="RenderTransform.ScaleX" /> <DoubleAnimation Duration="0:0:2" Storyboard.TargetProperty="RenderTransform.ScaleY" /> </Storyboard> </BeginStoryboard> </EventTrigger.Actions> </EventTrigger> </Style.Triggers> </Style> and i want to set style for a button in behind code that use this style. Thank.Sorry for my english.

    WCF and WF wpf

  • problem with stored procedure
    R RongNK

    Thank you very much :-O

    C# help csharp database

  • problem with stored procedure
    R RongNK

    Sorry, i have learned C# for 2 weeks :) SqlConnection connect = new SqlConnection(ConnectionFactory.strconn); connect.Open(); cmd = new SqlCommand("Proc_student_Add", connect); cmd.CommandType = CommandType.StoredProcedure; cmd.Parameters.Add(new SqlParameter("MaxID",varScenario.ID)); With that stored procedured i can't get return value by "int i = cmd.ExecuteNonQuery();", please help me to resolve this problem. Thank !

    C# help csharp database

  • problem with stored procedure
    R RongNK

    Get the value that returned :-O Thank !

    C# help csharp database

  • problem with stored procedure
    R RongNK

    How to get return value in C# code ? :-O Thank !

    C# help csharp database

  • problem with stored procedure
    R RongNK

    I have 1 table student(ID,Name,Address). and i make a stored procedure CREATE PROCEDURE [dbo].[Proc_Scenario_GetMaxID] @MaxID as int OUTPUT as BEGIN if((SELECT MAX(ID) FROM student) is not null) begin SET @MaxID = (SELECT MAX(ID) FROM student) end else Begin SET @MaxID=1 END return @MaxID END so i can't get the MaxID in C#. Please help me ! sorry for my english.

    C# help csharp database

  • Event !
    R RongNK

    I have a list: List ImgRow1 = new List(); and i set: foreach (Image item in ImgRow1) { item.MouseDown += new MouseButtonEventHandler(item_MouseDown); } in private void item_MouseDown(object sender, MouseButtonEventArgs e) { } and i want to get index of sender (for example: ImgRow1[2] => index=2 ). Sorry for my english. Thank !

    WCF and WF database tutorial

  • Listbox
    R RongNK

    Thank !

    WCF and WF wpf
  • Login

  • Don't have an account? Register

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