チェンジセット 1605 (default)
- 日時:
- 2023/09/08 4:13:14 (13ヵ月前)
- 場所:
- framework/trunk
- ファイル:
-
- 5個の追加
- 3個の更新
凡例:
- 未変更
- 追加
- 削除
-
framework/trunk/WebApplication/WebApplication.csproj
r1604 r1605 65 65 <Content Include="UI\Database\SqlErrorPage.aspx" /> 66 66 <Content Include="UI\WebControls\FormViewPage.aspx" /> 67 <Content Include="UI\WebControls\TemplateFieldPage.aspx" /> 67 68 <Content Include="UI\WebControls\ObjectDataSourceGridViewPage.aspx" /> 68 69 <Content Include="UI\WebControls\FormViewBindPage.aspx" /> … … 294 295 <Compile Include="UI\Parameter\ParameterMemberPage.aspx.designer.cs"> 295 296 <DependentUpon>ParameterMemberPage.aspx</DependentUpon> 297 </Compile> 298 <Compile Include="UI\WebControls\TemplateFieldPage.aspx.cs"> 299 <DependentUpon>TemplateFieldPage.aspx</DependentUpon> 300 <SubType>ASPXCodeBehind</SubType> 301 </Compile> 302 <Compile Include="UI\WebControls\TemplateFieldPage.aspx.designer.cs"> 303 <DependentUpon>TemplateFieldPage.aspx</DependentUpon> 296 304 </Compile> 297 305 <Compile Include="UI\WebControls\JQueryImageButtonFieldPage.aspx.cs"> -
framework/trunk/WebLibrary/Sources/UI/WebControls/BoundParameter.cs
r864 r1605 36 36 /// </summary> 37 37 /// <remarks> 38 /// <para> 38 39 /// このパラメータはバウンドコントロール内でのみ使用できます。 40 /// </para> 41 /// <para> 42 /// <see cref="DataBindingContextHolder"/> に対応しています。 43 /// </para> 39 44 /// </remarks> 40 45 [DefaultProperty("DataField")] … … 53 58 /// データフィールドデスクリプタ。 54 59 /// </summary> 55 private PropertyDescriptor dataFieldDesc; 60 private PropertyDescriptor dataFieldDesc; 56 61 57 62 … … 167 172 } 168 173 169 170 174 /// <summary> 171 175 /// <see cref="BoundParameter"/> オブジェクトの値を更新して返します。 … … 187 191 protected override object Evaluate(HttpContext context, Control control) 188 192 { 193 // ReSharper disable once ConditionIsAlwaysTrueOrFalse 189 194 if (context == null || context.Request == null) 190 195 { … … 198 203 } 199 204 200 object dataItem = DataBinder.GetDataItem(control) ;205 object dataItem = DataBinder.GetDataItem(control) ?? DataBindingContextHolder.GetDataItem(control); 201 206 if (dataItem == null) 202 207 { 203 throw new HttpException(Resources.Http_DataItemNotFound); 208 throw new HttpException(Resources.Http_DataItemNotFound); 204 209 } 205 210 -
framework/trunk/WebLibrary/WebLibrary.csproj
r1603 r1605 144 144 <Compile Include="Sources\UI\WebControls\BoundFieldUtility.cs" /> 145 145 <Compile Include="Sources\UI\WebControls\Confirm.cs" /> 146 <Compile Include="Sources\UI\WebControls\DataBindingContextHolder.cs" /> 146 147 <Compile Include="Sources\UI\WebControls\DateBox.cs" /> 147 148 <Compile Include="Sources\UI\WebControls\DateBoxValidator.cs" />
※ 詳しい使い方は
TracChangeset を参照してください。