User Profile & Activity

James Member
Page
of 14
Posted: August 25, 2009 11:26 PM

Dan, the sample is working fine in IE 8 and all other browsers. Please see the attached screenshot.

Note: Make sure your IE8 is not running in "Compatibility Mode", and that it has used "Default" setting for both Browser and Standards mode.

Edits: The WebCombo in the OperationSystem column is not editable, so yes, you can't type anything since it seems to be designed only for a selection from the list. 

Posted: August 25, 2009 9:02 AM

Yes, you can simply click on a name to see the activities, threads and posts made by that user. All our links used friendly-url, so you can easily access to your profile based on your user ID such as www.intersoftpt.com/Community/Users/PRISMAY/. 

BTW, you can also edit your profile from this link www.intersoftpt.com/Community/EditProfile (or click on the pencil icon in your User Profile box).


Posted: August 25, 2009 6:05 AM

Dan, the sample can be found in BatchUpdate_AllowReview and ClientBinding_BatchUpdate.

You can pay attention on the following:

  • The Severity column, which used ImageAndText column type. Notice the integration between the display and WebCombo editing is now seamless.
  • The OperatingSystem column, which used Custom type. The display shows a custom cell with images. Then try to edit the cell, notice how it is automatically mapped to the real text/value of the cell during WebCombo editing.

Hope this helps.

Posted: August 24, 2009 11:17 PM

Hello Michael,

Yes, you can define ButtonStyle using CSS class.

For example, let's say you have the stylesheet classes as in the following:

<style>
.Button-Normal
{
    border: Gray 2px solid;
    background-color: White;
}
</style>

You can assign the class to the Normal style of the WebButton through the object model, such as shown below:

button.ButtonStyle.Normal.CssClass = "Button-Normal";

Note that you can also assign it declaratively in the ASPX markup. 

Hope this helps,
James.

Posted: August 24, 2009 9:02 PM

Hello,

Yes, the feature can be found in WebGrid Designer as you pointed out in the documentation link. Alternatively, you can also access it in code behind through object model, eg, grid.RootTable.FormatConditions.Add(formatCondition)

Hth,
James.

Posted: August 24, 2009 3:00 AM

Yaniv, it seems Glenn has successfully integrated jQuery to work with WebCombo and WebInput. Please see Glenn's post and attachment above.

It's interesting to see how Intersoft components worked alongside with popular open-source frameworks such as jQuery. Well done Glenn for providing a quick sample!

Yes, that seems to be the WebGrid's behavior by design. When you clicked the button outside WebGrid, the Grid loses its focus and hence reflect the selection with LostFocusStyle (gray backcolor by default).

If you would like the Grid to stay with the focused row style after a button click, simply set the focus back to the Grid again in your button click javascript. Eg, grid.SetFocus();

Let me know if that works for you.

Posted: August 22, 2009 2:41 AM

Dan,

Could you check what's the ColumnType of the cell that contains the image?

AFAIK, the SetImage method should work well for Image and ImageAndText column type. This method is also used in BatchUpdate_AllowReview sample, so it suppose to work fine.

Posted: August 22, 2009 2:30 AM

Nice improvements! Keep up...

Posted: August 21, 2009 10:01 AM

Instead of accessing the image element manually, you can also try using cell.SetImage method.

Example:

cell.SetImage("images/Anne.jpg");

This way, your code looks much elegant and clean.

- James.

All times are GMT -5. The time now is 7:23 PM.
Previous Next