User Profile & Activity

Frank Bruce Member
Page
of 15
Posted: November 8, 2010 9:32 PM

Thank you,you are so kind to me!
It is very helpful!

hi Pierre Belanger,Could you please give me a printscreen about How to use the dll?
I have  tried more time but failed!  

Posted: November 8, 2010 9:16 PM
<LayoutSettings  AllowSelectColumns="Yes" AllowColumnMove="Yes" >

<ClientSideEvents OnColumnMove="WebGrid1_OnColumnMove" />

</LayoutSettings>
//Get  the column which you are moving
  function WebGrid1_OnColumnMove(controlId, tblName, sourceIndex, targetIndex, sourceColumn, targetColumn) {
       alert("the Move Column Name is:" + sourceColumn.Name);
        }

May be, the Way you will use later

Posted: November 7, 2010 9:54 PM

Could you please show me a demo about using paging  stored procedure with Webgrid ??

Like:

<script type="text/javascript">

Load()
{
 //init PagingSliderBar
}
getFirstPage()
{
//call C# code  with paging

}
getNextPage()
{

//call C# code  with paging
}
getPreviousPage()
{

//call C# code  with paging
}
getLastPage()
{

//call C# code  with paging
}
    </script>

thank you,Yudi

Posted: November 7, 2010 9:10 PM

Do you want this ?:
Js Code:

    <script type="text/javascript">
        function setForColor() {

            var grid = ISGetObject("WebGrid1");

            for (var i = 0; i < grid.TotalRows; i++) {

                var row = grid.RootTable.GetRow(i);
                var rowElement = row.GetElement();
                rowElement.style.color = "red";
           
            }      
   
        }
    </script>

C# code:

//Set webgrid BackColor 
      protected void Button1_Click(object sender, EventArgs e)
    {
        WebGrid1.LayoutSettings.AlternatingColors = false;
        WebGrid1.RootTable.RowStyle.BackColor = Color.Red;
    }

Posted: November 5, 2010 5:29 AM

Anyway,it can solve my problem.
If I do not install .netframework3.5,I will can not use Linq.
Could you give me the other suggestion for loading large datas?
thank you,Yudi

Posted: November 5, 2010 5:20 AM

.netFrameWork3.5+vs2008+windows server 2003
I have tried many times,my colleague also try too.
but  it does not work,too.
Could you give me a simple demo ?
Thanks for your patience!Niven Prasetya

Posted: November 3, 2010 9:24 PM

I am sure that webgrid's version  is 406.But it does not work.
Maybe I should wait for the next Webui 2011.

Posted: November 3, 2010 5:05 AM

I create  a new project  after update webgrid Hotfix!

Then  copy all the new dlls in assemblies .

But it does not work ,too!

Could show me a video that how to  update?
thank you .

Posted: November 3, 2010 4:16 AM

I am so sad to hear from that, but  thank you all the same `

All times are GMT -5. The time now is 7:32 AM.
Previous Next