﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Default value dinamic</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Default-value-dinamic/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Default value dinamic</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Default-value-dinamic/</link><pubDate>Fri, 11 Sep 2009 04:11:23 GMT</pubDate><dc:creator>yudi@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;I created a simple sample based on your requirement, assigning a default value on client side event using DefaultText or DefaultValue. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;The sample consists of a WebGrid; an HTML input textbox; and an HTML button. Any text typed in the textbox will be set as DefaultText and DefaultValue of ShipperName column of the WebGrid. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt"&gt;Hope this helps. Should you have different scenario, please make any necessary changes to the sample file and send it back to us for further investigation.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Default value dinamic</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Default-value-dinamic/</link><pubDate>Thu, 10 Sep 2009 19:22:21 GMT</pubDate><dc:creator>jleyva@bisa.com.pe</dc:creator><description>&lt;div id="result_box" dir="ltr"&gt;could send me an example of assigning a default value but on the client site using defaultText or defaultvalue&lt;/div&gt;</description></item><item><title>Default value dinamic</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Default-value-dinamic/</link><pubDate>Mon, 07 Sep 2009 22:47:00 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Did the page run FlyPostBack? If yes, I'm afraid that you will need FullPostBack to make it works. OnRowChangedAction--&amp;gt;FullPostBack.&lt;/p&gt;&lt;p&gt;If you want to do it client side, you can assign those DefaultText or DefaultValue in OnInitialize event.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Default value dinamic</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Default-value-dinamic/</link><pubDate>Mon, 07 Sep 2009 14:07:34 GMT</pubDate><dc:creator>jleyva@bisa.com.pe</dc:creator><description>&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;
&lt;div dir="ltr"&gt;when I add a new row ,will default to the value of the textbox (picture default.jpg ) in the user column of my webgrid.&lt;/div&gt;
&lt;div dir="ltr"&gt;&lt;br /&gt;This is the code I use to assign the value&lt;/div&gt;
&lt;div id="result_box" dir="ltr"&gt; &lt;/div&gt;
&lt;p&gt;Protected&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;Sub&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; wgBusqueda_RowChanged1(&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;ByVal&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; sender &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;As&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;Object&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;, &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;ByVal&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; e &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;As&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; ISNet.WebUI.WebGrid.RowChangedEventArgs) &lt;/span&gt;&lt;span style="color: #008000; font-size: 13px"&gt;&lt;span style="color: #008000; font-size: 13px"&gt;Handles wgBusqueda.RowChanged&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;Sub&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; wgBusqueda_RowChanged1(&lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;ByVal&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; sender &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;As&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;Object&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;, &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;ByVal&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; e &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;As&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; ISNet.WebUI.WebGrid.RowChangedEventArgs) &lt;/span&gt;&lt;span style="color: #008000; font-size: 13px"&gt;&lt;span style="color: #008000; font-size: 13px"&gt;Handles wgBusqueda.RowChanged&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;&lt;p&gt;WebGrid1.RootTable.Columns(0).DefaultText = txtUser_rol.Text&lt;/p&gt;&lt;p&gt;WebGrid1.RootTable.Columns(0).DefaultValue = txtUser_rol.Text&lt;span style="font-size: 13px"&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;End&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;Sub&lt;/span&gt;&lt;/span&gt; &lt;p&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;&lt;span style="color: #0000ff; font-size: 13px"&gt;but it's no result. plesase help me.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;</description></item></channel></rss>